From: Johannes Weiner Date: Tue, 1 Feb 2011 23:52:44 +0000 (-0800) Subject: memcg: never OOM when charging huge pages X-Git-Tag: v2.6.38-rc4~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8493ae439f7038b502df1d687e61dde54c27ca92;p=pandora-kernel.git 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 Acked-by: KAMEZAWA Hiroyuki Reviewed-by: Minchan Kim Cc: Balbir Singh Cc: Daisuke Nishimura Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed