From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from burns.conectiva (burns.conectiva [10.0.0.4]) by perninha.conectiva.com.br (Postfix) with SMTP id 0E95039981 for ; Wed, 10 Oct 2001 18:25:39 -0300 (EST) Date: Wed, 10 Oct 2001 18:25:27 -0300 (BRST) From: Rik van Riel Subject: Re: [CFT][PATCH] smoother VM for -ac In-Reply-To: <20011010164823.A17860@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Benjamin LaHaise Cc: kernelnewbies@nl.linux.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Alan Cox List-ID: On Wed, 10 Oct 2001, Benjamin LaHaise wrote: > On Wed, Oct 10, 2001 at 05:25:30PM -0300, Rik van Riel wrote: > > 4) in page_alloc.c, the "slowdown" reschedule has been > > made stronger by turning it into a try_to_free_pages(), > There's a small problem with this one: I know that during > testing of earlier 2.4 kernels we saw a livelock which was > caused by the vm subsystem spinning without scheduling. This > can happen in a couple of cases like NFS where another task has > to be allowed to run in order to make progress in clearing > pages. OK, I'll add back the reschedule() to fix this case. I don't like it too much, but I wouldn't know of an easier way to fix the NFS thing. I guess we could delay it to the zone->pages_min point though ... should cut down on the number of reschedules ;) regards, Rik -- DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ (volunteers needed) http://www.surriel.com/ http://distro.conectiva.com/ -- 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-mm.org/