diff options
author | Tetsuo Handa <[email protected]> | 2016-06-24 14:48:35 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2016-06-24 17:23:52 -0700 |
commit | 491a1c65ae498dea0e39b24a46e528a78a8532ed (patch) | |
tree | 81c945e8848f0a83f085dd54a310eb524cfbeca0 /tools/perf/scripts/python/sched-migration.py | |
parent | 63c04ee7d3b7c8d8e2726cb7c5f8a5f6fcc1e3b2 (diff) |
mm,oom_reaper: don't call mmput_async() without atomic_inc_not_zero()
Commit e2fe14564d33 ("oom_reaper: close race with exiting task") reduced
frequency of needlessly selecting next OOM victim, but was calling
mmput_async() when atomic_inc_not_zero() failed.
Link: http://lkml.kernel.org/r/1464423365-5555-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp
Signed-off-by: Tetsuo Handa <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions