Hi,

On Mon, Sep 25, 2000 at 04:16:56PM +0100, Alan Cox wrote:
> 
> Unless Im missing something here think about this case
> 
> 2 active processes, no swap
> 
> #1                                    #2
> kmalloc 32K                           kmalloc 16K
> OK                                    OK
> kmalloc 16K                           kmalloc 32K
> block                                 block
> 

... and we get two wakeup_kswapd()s.  kswapd has PF_MEMALLOC and so is
able to eat memory which processes #1 and #2 are not allowed to touch.
Progress is made, clean pages are discarded and dirty ones queued for
write, memory becomes free again and the world is a better place.

Or so goes the theory, at least.

--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to