Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 10 Oct 2001 17:25:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 10 Oct 2001 17:25:32 -0400 Received: from perninha.conectiva.com.br ([200.250.58.156]:43272 "HELO perninha.conectiva.com.br") by vger.kernel.org with SMTP id ; Wed, 10 Oct 2001 17:25:18 -0400 Date: Wed, 10 Oct 2001 18:25:27 -0300 (BRST) From: Rik van Riel X-X-Sender: To: Benjamin LaHaise Cc: , , , Alan Cox Subject: Re: [CFT][PATCH] smoother VM for -ac In-Reply-To: <20011010164823.A17860@redhat.com> Message-ID: X-supervisor: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/