diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-29 01:00:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 08:06:10 -0700 |
commit | faebe9fdf35058bb8421e4c09f6f70994eaf8db2 (patch) | |
tree | 36042017bf8871253d86f1fe691ed630b179a1c9 /include | |
parent | c84872e168d10926acd2dee975d19172eef79252 (diff) | |
download | kernel-crypto-faebe9fdf35058bb8421e4c09f6f70994eaf8db2.tar.gz kernel-crypto-faebe9fdf35058bb8421e4c09f6f70994eaf8db2.tar.xz kernel-crypto-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 'include')
-rw-r--r-- | include/linux/res_counter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/res_counter.h b/include/linux/res_counter.h index df8085acba1..629d0ea2d07 100644 --- a/include/linux/res_counter.h +++ b/include/linux/res_counter.h @@ -9,6 +9,8 @@ * * Author: Pavel Emelianov <xemul@openvz.org> * + * See Documentation/controllers/resource_counter.txt for more + * info about what this counter is. */ #include <linux/cgroup.h> |