• Andrew Morton's avatar
    [PATCH] oom killer: ignore free swapspace · 45d6fa63
    Andrew Morton authored
    From: William Lee Irwin III <wli@holomorphy.com>
    
    During stress testing at Oracle to determine the maximum number of clients
    2.6 can service, it was discovered that the failure mode of excessive
    numbers of clients was kernel deadlock.  The following patch removes the
    check if (nr_swap_pages > 0) from out_of_memory() as this heuristic fails
    to detect memory exhaustion due to pinned allocations, directly causing the
    aforementioned deadlock.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    45d6fa63
oom_kill.c 7.07 KB