aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorMichal Hocko <[email protected]>2016-06-03 21:55:55 +0000
committerLinus Torvalds <[email protected]>2016-06-03 23:02:56 +0000
commitcbdcf7f78900625de35173961b9b95cde22bce45 (patch)
tree313e8398a476f95583156893e8459c3f3592201a /fs/jbd2/commit.c
parentmm, page_alloc: prevent infinite loop in buffered_rmqueue() (diff)
downloadkernel-cbdcf7f78900625de35173961b9b95cde22bce45.tar.gz
kernel-cbdcf7f78900625de35173961b9b95cde22bce45.zip
mm, oom_reaper: do not use siglock in try_oom_reaper()
Oleg has noted that siglock usage in try_oom_reaper is both pointless and dangerous. signal_group_exit can be checked lockless. The problem is that sighand becomes NULL in __exit_signal so we can crash. Fixes: 3ef22dfff239 ("oom, oom_reaper: try to reap tasks which skip regular OOM killer path") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Michal Hocko <[email protected]> Suggested-by: Oleg Nesterov <[email protected]> Cc: Tetsuo Handa <[email protected]> Cc: David Rientjes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions