Re: kswapd's priority

MOLNAR Ingo (mingo@valerie.inf.elte.hu)
Fri, 26 Jun 1998 23:47:32 +0200 (MET DST)


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 majordomo@vger.rutgers.edu