summaryrefslogtreecommitdiffstats
path: root/mm/page_cgroup.c
diff options
context:
space:
mode:
authorDaisuke Nishimura2010-03-11 00:22:16 +0100
committerLinus Torvalds2010-03-13 00:52:36 +0100
commit8033b97c9b5ef063e3f4bf2efe1cd0a22093aaff (patch)
tree0d3dbf74d6c307d425d5d13a5c7c1efbf6c079f2 /mm/page_cgroup.c
parentmemcg: improve performance in moving charge (diff)
downloadkernel-qcow2-linux-8033b97c9b5ef063e3f4bf2efe1cd0a22093aaff.tar.gz
kernel-qcow2-linux-8033b97c9b5ef063e3f4bf2efe1cd0a22093aaff.tar.xz
kernel-qcow2-linux-8033b97c9b5ef063e3f4bf2efe1cd0a22093aaff.zip
memcg: avoid oom during moving charge
This move-charge-at-task-migration feature has extra charges on "to"(pre-charges) and "from"(left-over charges) during moving charge. This means unnecessary oom can happen. This patch tries to avoid such oom. Signed-off-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Cc: Paul Menage <menage@google.com> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_cgroup.c')
0 files changed, 0 insertions, 0 deletions