From: Oleg Nesterov Date: Sat, 13 Dec 2014 00:56:27 +0000 (-0800) Subject: oom: kill the insufficient and no longer needed PT_TRACE_EXIT check X-Git-Tag: omap-for-v3.20/drop-legacy-3517~97^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a2d5679b4a852a3bf80c570644456ab466ab714;p=pandora-kernel.git oom: kill the insufficient and no longer needed PT_TRACE_EXIT check After the previous patch we can remove the PT_TRACE_EXIT check in oom_scan_process_thread(), it was added to handle the case when the coredumping was "frozen" by ptrace, but it doesn't really work. If nothing else, we would need to check all threads which could share the same ->mm to make it more or less correct. Signed-off-by: Oleg Nesterov Cc: Cong Wang Cc: David Rientjes Acked-by: Michal Hocko Cc: "Rafael J. Wysocki" Cc: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed