summaryrefslogtreecommitdiffstats
path: root/mm/mmu_context.c
diff options
context:
space:
mode:
authorDaisuke Nishimura <nishimura@mxp.nes.nec.co.jp>2009-09-24 00:56:43 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-24 16:20:59 +0200
commit1dd3a27326d307952f8ad2499478c84dc7311517 (patch)
treeae59d52935c790dd3fd0c8e12af5855cfe1abfcb /mm/mmu_context.c
parentmemcg: improve resource counter scalability (diff)
downloadlinux-1dd3a27326d307952f8ad2499478c84dc7311517.tar.xz
linux-1dd3a27326d307952f8ad2499478c84dc7311517.zip
memcg: show swap usage in stat file
We now count MEM_CGROUP_STAT_SWAPOUT, so we can show swap usage. It would be useful for users to show swap usage in memory.stat file, because they don't need calculate memsw.usage - res.usage to know swap usage. Signed-off-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Reviewed-by: Balbir Singh <balbir@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmu_context.c')
0 files changed, 0 insertions, 0 deletions