diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-12-12 16:56:27 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-13 12:42:49 -0800 |
commit | 6a2d5679b4a852a3bf80c570644456ab466ab714 (patch) | |
tree | ec4d85627deeffe0452197d2cf9c372fa586bca8 /kernel/locking | |
parent | d003f371b27016354c392464819530d47a915765 (diff) | |
download | linux-stable-6a2d5679b4a852a3bf80c570644456ab466ab714.tar.gz linux-stable-6a2d5679b4a852a3bf80c570644456ab466ab714.tar.bz2 linux-stable-6a2d5679b4a852a3bf80c570644456ab466ab714.zip |
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 <oleg@redhat.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions