From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 12 Feb 2005 13:44:32 -0800 From: Paul Jackson Subject: Re: [RFC 2.6.11-rc2-mm2 7/7] mm: manual page migration -- sys_page_migrate Message-Id: <20050212134432.5c60dd8e.pj@sgi.com> In-Reply-To: <1108242262.6154.39.camel@localhost> References: <20050212032535.18524.12046.26397@tomahawk.engr.sgi.com> <20050212032620.18524.15178.29731@tomahawk.engr.sgi.com> <1108242262.6154.39.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Dave Hansen Cc: raybry@sgi.com, taka@valinux.co.jp, hugh@veritas.com, akpm@osdl.org, marcello@cyclades.com, raybry@austin.rr.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: Dave wrote: > Might it be useful to use nodemasks instead of those arrays? I don't think he can. A nodemask represents an unorderd set of nodes. He needs (or wants) to pass a map, mapping the node that each page might be on, to the node to which it should migrate. A bitmask doesn't contain enough information to specify that. Perhaps instead he could pass two node arguments, old and new, with the migration routines understanding that they were to migrate only pages found on the old node, to the new node, ignoring other pages. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.650.933.1373, 1.925.600.0401 -- 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.linux-mm.org/ . Don't email: aart@kvack.org