Commit 348b465530ad222ce80e516524dd01009a4f9205

Authored by Jeff Liu
Committed by Linus Torvalds
1 parent a1dd450bcb

Documentation/cgroups/memory.txt: s/mem_cgroup_charge/mem_cgroup_change_common/

mem_cgroup_charge_common() is invoked as the entry point for cgroup limits
charge rather than mem_cgroup_charge(), as the later has been removed for
years.  Update the cgroup/memory.txt to reflect this change.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Cc: Ying Han <yinghan@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

Documentation/cgroups/memory.txt
... ... @@ -144,9 +144,9 @@
144 144 3. Each page has a pointer to the page_cgroup, which in turn knows the
145 145 cgroup it belongs to
146 146  
147   -The accounting is done as follows: mem_cgroup_charge() is invoked to set up
148   -the necessary data structures and check if the cgroup that is being charged
149   -is over its limit. If it is, then reclaim is invoked on the cgroup.
  147 +The accounting is done as follows: mem_cgroup_charge_common() is invoked to
  148 +set up the necessary data structures and check if the cgroup that is being
  149 +charged is over its limit. If it is, then reclaim is invoked on the cgroup.
150 150 More details can be found in the reclaim section of this document.
151 151 If everything goes well, a page meta-data-structure called page_cgroup is
152 152 updated. page_cgroup has its own LRU on cgroup.