From: Johannes Weiner Date: Thu, 12 Sep 2013 22:13:38 +0000 (-0700) Subject: arch: mm: do not invoke OOM killer on kernel fault OOM X-Git-Tag: v3.12-rc1~24^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=871341023c771ad233620b7a1fb3d9c7031c4e5c;p=pandora-kernel.git arch: mm: do not invoke OOM killer on kernel fault OOM Kernel faults are expected to handle OOM conditions gracefully (gup, uaccess etc.), so they should never invoke the OOM killer. Reserve this for faults triggered in user context when it is the only option. Most architectures already do this, fix up the remaining few. Signed-off-by: Johannes Weiner Reviewed-by: Michal Hocko Acked-by: KOSAKI Motohiro Cc: David Rientjes Cc: KAMEZAWA Hiroyuki Cc: azurIt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed