aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.h
diff options
context:
space:
mode:
authorTetsuo Handa <[email protected]>2016-10-07 17:00:49 -0700
committerLinus Torvalds <[email protected]>2016-10-07 18:46:29 -0700
commita104808e212a9ee97e6b9cb6945185e50905f009 (patch)
treef64f0b298d6b015bf784df5af8810caff6df08b8 /tools/lib/api/debug.h
parent20311420282f3402888f1d9b8b80d924d491aadf (diff)
mm: don't emit warning from pagefault_out_of_memory()
Commit c32b3cbe0d06 ("oom, PM: make OOM detection in the freezer path raceless") inserted a WARN_ON() into pagefault_out_of_memory() in order to warn when we raced with disabling the OOM killer. Now, patch "oom, suspend: fix oom_killer_disable vs. pm suspend properly" introduced a timeout for oom_killer_disable(). Even if we raced with disabling the OOM killer and the system is OOM livelocked, the OOM killer will be enabled eventually (in 20 seconds by default) and the OOM livelock will be solved. Therefore, we no longer need to warn when we raced with disabling the OOM killer. Link: http://lkml.kernel.org/r/1473442120-7246-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: David Rientjes <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.h')
0 files changed, 0 insertions, 0 deletions