summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorPavel Emelyanov2008-04-29 10:00:18 +0200
committerLinus Torvalds2008-04-29 17:06:10 +0200
commitfaebe9fdf35058bb8421e4c09f6f70994eaf8db2 (patch)
tree36042017bf8871253d86f1fe691ed630b179a1c9 /mm/memcontrol.c
parentmemcgroup: add the max_usage member on the res_counter (diff)
downloadkernel-qcow2-linux-faebe9fdf35058bb8421e4c09f6f70994eaf8db2.tar.gz
kernel-qcow2-linux-faebe9fdf35058bb8421e4c09f6f70994eaf8db2.tar.xz
kernel-qcow2-linux-faebe9fdf35058bb8421e4c09f6f70994eaf8db2.zip
memcgroups: add a document describing the resource counter abstraction
The resource counter is supposed to facilitate the resource accounting of arbitrary resource (and it already does this for memory controller). However, it is about to be used in other resources controllers (swap, kernel memory, networking, etc), so provide a doc describing how to work with it. This will eliminate all the possible future duplications in the appropriate controllers' docs. Fixed errors pointed out by Randy. [akpm@linux-foundation.org: fix documentation tpyo] Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Cc: Randy Dunlap <randy.dunlap@oracle.com> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions