From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 22 Apr 2001 16:11:36 -0300 (BRST) From: Rik van Riel Subject: Re: suspend processes at load (was Re: a simple OOM ...) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: "James A.Sutherland" Cc: Jonathan Morton , "Joseph A. Knapka" , linux-mm@kvack.org List-ID: On Sun, 22 Apr 2001, James A.Sutherland wrote: > >But login was suspended because of a page fault, > > No, login was NOT *suspended*. It's sleeping on I/O, not suspended. > > > so potentially it will > >*also* get suspended for just as long as the hogs. > > No, it will get CPU time a small fraction of a second later, once the > I/O completes. You're assuming login won't have the rest of its memory (which it needs to do certain things) swapped out again in the time it waits for this page to be swapped in... ... which is exactly what happens when the system is thrashing. regards, Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/ http://www.conectiva.com/ http://distro.conectiva.com.br/ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/