diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2011-02-01 23:52:44 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-02-03 00:03:19 (GMT) |
commit | 8493ae439f7038b502df1d687e61dde54c27ca92 (patch) | |
tree | ba8dafa7eb3292c8d2ca4597ef6f2f06c7dcd6a6 /mm/Kconfig.debug | |
parent | 19942822df65ee4a47c2e6d6d70cace1b7f01710 (diff) | |
download | linux-fsl-qoriq-8493ae439f7038b502df1d687e61dde54c27ca92.tar.xz |
memcg: never OOM when charging huge pages
Huge page coverage should obviously have less priority than the continued
execution of a process.
Never kill a process when charging it a huge page fails. Instead, give up
after the first failed reclaim attempt and fall back to regular pages.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Cc: Balbir Singh <balbir@linux.vnet.ibm.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/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions