Johannes Weiner 8493ae439f 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>
2011-02-02 16:03:19 -08:00
..
2011-01-13 17:32:49 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:46 -08:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:41 -08:00
2011-01-07 17:50:26 +11:00
2011-01-15 13:28:36 +02:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:41 -08:00
2011-01-17 14:42:34 -08:00
2011-01-13 17:32:41 -08:00
2011-01-20 17:02:06 -08:00
2011-01-13 17:32:43 -08:00