Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 4 Mar 2002 19:13:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 4 Mar 2002 19:13:40 -0500 Received: from garrincha.netbank.com.br ([200.203.199.88]:12305 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Mon, 4 Mar 2002 19:12:37 -0500 Date: Mon, 4 Mar 2002 21:12:25 -0300 (BRT) From: Rik van Riel X-X-Sender: riel@imladris.surriel.com To: Andrea Arcangeli Cc: "Martin J. Bligh" , Stephan von Krawczynski , , , , Subject: Re: 2.4.19pre1aa1 In-Reply-To: <20020304230603.O20606@dualathlon.random> 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 Mon, 4 Mar 2002, Andrea Arcangeli wrote: > On Mon, Mar 04, 2002 at 10:46:54AM -0800, Martin J. Bligh wrote: > > seems to me to be that the way we do current swap-out scanning is virtual, > > not physical, and thus cannot be per zone => per node. > > actually if you do process bindings the pte should be all allocated > local to the node if numa is enabled, and if there's no binding, no > matter if you have rmap or not, the ptes can be spread across the whole > system (just like the physical pages in the inactive/active lrus, > because they're not per-node). Think shared pages. With -rmap you'll scan all the page table entries mapping the pages on the current node, regardless of which node the page tables live. Without -rmap you'll need to scan all page table entries in the system, not just the ones mapping pages on the current node. regards, Rik -- "Linux holds advantages over the single-vendor commercial OS" -- Microsoft's "Competing with Linux" document 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/