From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 8 Jun 2001 23:26:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 8 Jun 2001 23:26:38 -0400 Received: from garrincha.netbank.com.br ([200.203.199.88]:44296 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Fri, 8 Jun 2001 23:26:21 -0400 Date: Sat, 9 Jun 2001 00:26:13 -0300 (BRST) From: Rik van Riel To: Linus Torvalds Cc: Marcelo Tosatti , lkml , linux-mm@kvack.org Subject: Re: Background scanning change on 2.4.6-pre1 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 Thu, 7 Jun 2001, Linus Torvalds wrote: > On Thu, 7 Jun 2001, Marcelo Tosatti wrote: > > time (the old code from Rik which has been replaced by this code tried to > > avoid that) > > Now, I think the problem with the old code was that it didn't do _any_ > background page aging if "inactive" was large enough. And that really > doesn't make all that much sense. Background page aging is needed to > "sort" the active list, regardless of how many inactive pages there are. I'll be posting a patch in a few minutes (against 2.4.5-acX, which was the latest kernel available to me while on holidays with no net access) which doesn't "roll over" the inactive dirty pages when we scan the list. This should make us reclaim the inactive_dirty pages in a much better LRU order, so this whole background aging limiting stuff becomes close to moot. 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)