Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 18 Jul 2001 09:28:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 18 Jul 2001 09:28:04 -0400 Received: from garrincha.netbank.com.br ([200.203.199.88]:49671 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Wed, 18 Jul 2001 09:27:47 -0400 Date: Wed, 18 Jul 2001 10:27:48 -0300 (BRST) From: Rik van Riel X-X-Sender: To: Linus Torvalds Cc: Marcelo Tosatti , lkml Subject: Re: Inclusion of zoned inactive/free shortage patch In-Reply-To: Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: 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 Tue, 17 Jul 2001, Linus Torvalds wrote: > In that case, what's the argument for not just replacing the zone > parameter with > > /* If we have enough free pages in this zone, don't bother */ > if (page->zone->nrpages > page->zone->high) > return; > Comments? Won't work. If it did, it'd just bring us back to the pathetic situation we had in 2.3.51, but with the introduction of inactive_clean pages and an inactive target all this test would do is either preventing us from ever making the inactive target or from getting the eviction balancing between zones right (see 2.3.51). 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://distro.conectiva.com/ Send all your spam to aardvark@nl.linux.org (spam digging piggy) - 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/