[lkml]   [1998]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: kswapd's priority

    On Fri, 26 Jun 1998, Rik van Riel wrote:

    > They don't. All try_to_free_page() calls are made with
    > WAIT=0. [...]

    ? maybe i'm just misreading the source:

    [mingo@hal linux]$ grep __GFP_WAIT *.h
    mm.h:#define __GFP_WAIT 0x01
    mm.h:#define GFP_BUFFER (__GFP_LOW | __GFP_WAIT)
    mm.h:#define GFP_USER (__GFP_LOW | __GFP_WAIT | __GFP_IO)
    mm.h:#define GFP_KERNEL (__GFP_LOW | __GFP_WAIT | __GFP_IO)
    mm.h:#define GFP_NFS (__GFP_MED | __GFP_WAIT | __GFP_IO)

    in all these cases we wait definitely for the first swapout(s) to finish

    -- mingo

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to

     \ /
      Last update: 2005-03-22 13:43    [W:0.018 / U:19.780 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site