lkml.org 
[lkml]   [2010]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Free memory never fully used, swapping
    On Thu, Nov 25, 2010 at 07:18:49PM +0900, KOSAKI Motohiro wrote:

    > This?

    > - alloc_gfp = (flags | __GFP_NOWARN | __GFP_NORETRY) & ~__GFP_NOFAIL;
    > + alloc_gfp = (flags | __GFP_NOWARN) & ~(__GFP_NOFAIL | __GFP_WAIT);

    kswapd still gets woken in the !__GFP_WAIT case, which is what I was
    seeing anyway, because the order-3 allocatons were starting from
    __alloc_skb().

    Simon-


    \
     
     \ /
      Last update: 2010-11-25 18:15    [W:0.024 / U:31.160 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site