From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <387F8813.97293689@zk3.dec.com> Date: Fri, 14 Jan 2000 15:33:23 -0500 From: Peter Rival MIME-Version: 1.0 Subject: Re: [RFC] 2.3.39 zone balancing References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Ingo Molnar Cc: Kanoj Sarcar , Linus Torvalds , Andrea Arcangeli , Alan Cox , Rik van Riel , linux-mm@kvack.org, linux-kernel@vger.rutgers.edu List-ID: Sorry to be late on this thread... Ingo Molnar wrote: > On Thu, 13 Jan 2000, Kanoj Sarcar wrote: > > > There's been some arguments against per-zone, or per-node kswapd's, > > so the other alternative is to pass the list of unbalanced zones to > > kswapd, which can then scan only the unbalanced ones. This is the > > best solution when there are fairly large number of nodes. > > the current kswapd is not quite suited to go per-zone and/or per-node, i > agree. But the swap_out() logic itself i believe has to be per-node in the > long term. Especially as we are already able to allocate from a given > node. Thus it would be natural to be able to do swap_out() from a given > node - both page tables and pages will likely be bound to a node. Per-node > kswapds are simple - they only have to take a look at p->node or > p->processor to pick up the right mm. This means that every kswapd would > pick up preferred mm's from it's own node. > Just don't forget about memory-only nodes (i.e., don't use p->processor :) - Pete -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.nl.linux.org/Linux-MM/