diff options
| author | Kirill A. Shutemov <[email protected]> | 2009-12-15 16:47:01 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-16 07:20:07 -0800 |
| commit | cd9b45b78a61e8df250e69385c74e729e5b66abf (patch) | |
| tree | 8cb92363dd4b936814de9a0823016889b3441fde /include/linux/debugobjects.h | |
| parent | 6be4b78993498c253e99b12c4d0f7684a36955e2 (diff) | |
memcg: fix memory.memsw.usage_in_bytes for root cgroup
A memory cgroup has a memory.memsw.usage_in_bytes file. It shows the sum
of the usage of pages and swapents in the cgroup. Presently the root
cgroup's memsw.usage_in_bytes shows the wrong value - the number of
swapents are not added.
So take MEM_CGROUP_STAT_SWAPOUT into account.
Signed-off-by: Kirill A. Shutemov <[email protected]>
Reviewed-by: Daisuke Nishimura <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions