[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New patch (was Re: [PATCH] swapin readahead v3 + kswapd fixes)



On Tue, 22 Dec 1998, Rik van Riel wrote:

>- kswapd should make sure that there is enough on the cache
>  (we should keep track of how many 1-count cache pages there
>  are in the system)
>- realtime tasks shouldn't go around allocating huge amounts
>  of memory -- this totally ruins the realtime aspect anyway

What about if there is netscape iconized and the realtime task want to
allocate some memory to mlock it but has to swapout netscape to do that?

>> (and this will avoid also tasks other than kswapd to
>> sleep waiting for slowww SYNC IO). 
>
>Some tasks (really big memory hogs) are better left sleeping
>for I/O because they otherwise completely overpower the rest
>of the system. But that's a slightly different story :)

The point here is that `free` get blocked on I/O because the malicious
process is trashing VM. 

Andrea Arcangeli

--
This is a majordomo managed list.  To unsubscribe, send a message with
the body 'unsubscribe linux-mm me@address' to: majordomo@kvack.org