diff options
author | 2011-02-01 15:52:44 -0800 | |
---|---|---|
committer | 2011-02-02 16:03:19 -0800 | |
commit | 8493ae439f7038b502df1d687e61dde54c27ca92 (patch) | |
tree | ba8dafa7eb3292c8d2ca4597ef6f2f06c7dcd6a6 /kernel/workqueue.c | |
parent | memcg: prevent endless loop when charging huge pages to near-limit group (diff) | |
download | linux-rng-8493ae439f7038b502df1d687e61dde54c27ca92.tar.xz linux-rng-8493ae439f7038b502df1d687e61dde54c27ca92.zip |
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 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions