aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMichal Hocko <[email protected]>2016-05-19 17:13:12 -0700
committerLinus Torvalds <[email protected]>2016-05-19 19:12:14 -0700
commit3ef22dfff2390e75b379f9715388a852aa56e0d5 (patch)
treedb03e0e91c8bdf4a4ecc3be02e04df5bdcb89dcc /tools/perf/scripts/python/bin
parent3da88fb3bacfaa33ff9d13730d17110bb2d9604d (diff)
oom, oom_reaper: try to reap tasks which skip regular OOM killer path
If either the current task is already killed or PF_EXITING or a selected task is PF_EXITING then the oom killer is suppressed and so is the oom reaper. This patch adds try_oom_reaper which checks the given task and queues it for the oom reaper if that is safe to be done meaning that the task doesn't share the mm with an alive process. This might help to release the memory pressure while the task tries to exit. [[email protected]: fix nommu build] Signed-off-by: Michal Hocko <[email protected]> Cc: Raushaniya Maksudova <[email protected]> Cc: Michael S. Tsirkin <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: David Rientjes <[email protected]> Cc: Tetsuo Handa <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Oleg Nesterov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions