[lkml]   [2009]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v2] slab,slub: ignore __GFP_WAIT if we're booting or suspending
    > Maybe so. Masking off __GFP_WAIT up in slab and page allocator
    > isn't really needed though (or necessarily a good idea to throw
    > out that information far from where it is used).
    > Checking for suspend active and avoiding writeout from reclaim
    > for example might be a better idea.

    Ah ok. Yes, I agree. I'm not familiar with those code path and
    so masking gfp here sounded like the easier solution but you may well be
    right here :-)

    > > So yes, just applying the mask would help, but wouldn't completely fix
    > > it unless we also find a way to synchronize.
    > You could potentially use srcu or something like that in page
    > reclaim in order to have a way to be able to kick everyone
    > out. page reclaim entry/exit from the page allocator isn't such
    > a fastpath though, so even a simple mutex or something may be
    > possible.

    Ok. Well, I'll leave that to the suspend/resume folks for now, as I'm
    way too busy at the moment to give that a serious look, but thanks for
    the pointer.


    > --
    > To unsubscribe, send a message with 'unsubscribe linux-mm' in
    > the body to For more info on Linux MM,
    > see: .
    > Don't email: <a href=mailto:""> </a>

     \ /
      Last update: 2009-06-25 12:01    [W:0.019 / U:12.912 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site