Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 8 Jul 2001 14:30:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 8 Jul 2001 14:30:09 -0400 Received: from garrincha.netbank.com.br ([200.203.199.88]:51716 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Sun, 8 Jul 2001 14:29:52 -0400 Date: Sun, 8 Jul 2001 15:29:49 -0300 (BRST) From: Rik van Riel X-X-Sender: To: Linus Torvalds Cc: Mike Galbraith , Jeff Garzik , Daniel Phillips , Kernel Mailing List Subject: Re: VM in 2.4.7-pre hurts... 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 Sun, 8 Jul 2001, Linus Torvalds wrote: > (a) _had_ the page been on any of the aging lists, it would have been > aged down every time we passed it, and > (b) it's obviously been aged up every time we passed it in the VM so far > (because it hadn't been added to the swap cache earlier). > - an anonymous page, by the time we add it to the swap cache, would have > been aged down and up roughly the same number of times. Hmmm, indeed. I guess this also means page aging in its current form cannot even work well with exponential down aging since the down aging on the pageout list always cancels out the up aging in swap_out() ... I guess it's time we found some volunteers to experiment with linear down aging (page->age--;) since that one will be able to withstand pages being referenced only in the page tables. (now, off to a project 4000 km from home for the next 2 weeks ... bbl) 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/