lkml.org 
[lkml]   [2004]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Remove OOM killer from try_to_free_pages / all_unreclaimable braindamage
    On Sat, Nov 06, 2004 at 12:26:57PM +1100, Nick Piggin wrote:
    > need to be performed and have no failure path. For example __GFP_REPEAT.

    all allocations should have a failure path to avoid deadlocks. But in
    the meantime __GFP_REPEAT is at least localizing the problematic places ;)

    > I think maybe __GFP_REPEAT allocations at least should be able to
    > cause an OOM. Not sure though.

    probably it should because this is also a case where no fail path exists.

    My point was only that when a fail path exists, it's more reliable not
    to invoke the oom killer and let userspace handle the failure.

    > Also, I think it would do the wrong thing on NUMA machines because
    > that has a per-node kswapd.

    yep.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:07    [W:4.083 / U:0.216 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site