summaryrefslogtreecommitdiffstats
path: root/kernel/cpuset.c
diff options
context:
space:
mode:
authorDaisuke Nishimura <nishimura@mxp.nes.nec.co.jp>2009-04-03 01:57:48 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-03 04:04:56 +0200
commit83aae4c737866da3280f51fd15da58eddd788397 (patch)
treea4fdabfb02949e0d44743850b7f37ae52eaed757 /kernel/cpuset.c
parentmemcg: remove redundant message at swapon (diff)
downloadlinux-83aae4c737866da3280f51fd15da58eddd788397.tar.xz
linux-83aae4c737866da3280f51fd15da58eddd788397.zip
memcg: cleanup cache_charge
Current mem_cgroup_cache_charge is a bit complicated especially in the case of shmem's swap-in. This patch cleans it up by using try_charge_swapin and commit_charge_swapin. Signed-off-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions