• Andrew Morton's avatar
    [PATCH] don't let OOM killer kill same process repeatedly · 38b272f1
    Andrew Morton authored
    Patch from Rik van Riel <riel@imladris.surriel.com>
    
    If a process cannot exit because it's stuck in eg.  a driver, it doesn't make
    sense to have the OOM killer kill it repeatedly; that could lead to a hung
    system.
    
    Instead, kill another process if the first process we tried to kill hasn't
    made any move to exit within 5 seconds.  This way we have a much better
    chance of recovering the system.
    38b272f1
oom_kill.c 6.48 KB