From: Johannes Weiner Date: Thu, 12 Sep 2013 22:13:42 +0000 (-0700) Subject: mm: memcg: enable memcg OOM killer only for user faults X-Git-Tag: v3.12-rc1~24^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=519e52473ebe9db5cdef44670d5a97f1fd53d721;p=pandora-kernel.git mm: memcg: enable memcg OOM killer only for user faults System calls and kernel faults (uaccess, gup) can handle an out of memory situation gracefully and just return -ENOMEM. Enable the memcg OOM killer only for user faults, where it's really the only option available. Signed-off-by: Johannes Weiner Acked-by: Michal Hocko Cc: David Rientjes Cc: KAMEZAWA Hiroyuki Cc: azurIt Cc: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed