From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from penguin.e-mind.com (penguin.e-mind.com [195.223.140.120]) by kvack.org (8.8.7/8.8.7) with ESMTP id RAA32678 for ; Tue, 22 Dec 1998 17:35:06 -0500 Date: Tue, 22 Dec 1998 23:35:14 +0100 (CET) From: Andrea Arcangeli Subject: Re: New patch (was Re: [PATCH] swapin readahead v3 + kswapd fixes) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Rik van Riel Cc: "Eric W. Biederman" , Linus Torvalds , "Stephen C. Tweedie" , Linux MM , Alan Cox List-ID: 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