summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb_cgroup.c
diff options
context:
space:
mode:
authorMichal Hocko <mhocko@suse.com>2016-06-03 23:55:55 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-06-04 01:02:56 +0200
commitcbdcf7f78900625de35173961b9b95cde22bce45 (patch)
tree313e8398a476f95583156893e8459c3f3592201a /mm/hugetlb_cgroup.c
parentmm, page_alloc: prevent infinite loop in buffered_rmqueue() (diff)
downloadlinux-cbdcf7f78900625de35173961b9b95cde22bce45.tar.xz
linux-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/1464679423-30218-1-git-send-email-mhocko@kernel.org Signed-off-by: Michal Hocko <mhocko@suse.com> Suggested-by: Oleg Nesterov <oleg@redhat.com> Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> Cc: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb_cgroup.c')
0 files changed, 0 insertions, 0 deletions