diff options
author | Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> | 2010-03-10 15:22:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 15:52:36 -0800 |
commit | 8033b97c9b5ef063e3f4bf2efe1cd0a22093aaff (patch) | |
tree | 0d3dbf74d6c307d425d5d13a5c7c1efbf6c079f2 /mm/page_cgroup.c | |
parent | 854ffa8d104e44111fec96764c0e0cb29223d54c (diff) | |
download | linux-8033b97c9b5ef063e3f4bf2efe1cd0a22093aaff.tar.gz linux-8033b97c9b5ef063e3f4bf2efe1cd0a22093aaff.tar.bz2 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