From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 12 Jan 2005 06:35:24 -0600 From: Robin Holt Subject: Re: page migration patchset Message-ID: <20050112123524.GA12843@lnx-holt.americas.sgi.com> References: <41DB35B8.1090803@sgi.com> <41DB5CE9.6090505@sgi.com> <41DC34EF.7010507@mvista.com> <41E3F2DA.5030900@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E3F2DA.5030900@sgi.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Ray Bryant Cc: Steve Longerbeam , Andi Kleen , Hirokazu Takahashi , Dave Hansen , Marcello Tosatti , Kernel Mailing List , linux-mm , andrew morton List-ID: On Tue, Jan 11, 2005 at 09:38:02AM -0600, Ray Bryant wrote: > Pages that are found to be swapped out would be handled as follows: > Add the original node id to either the swap pte or the swp_entry_t. > Swap in will be modified to allocate the page on the same node it > came from. Then, as part of migrate_process_pages, all that would > be done for swapped out pages would be to change the "original node" > field to point at the new node. > > However, I could probably do both steps (2) and (3) as part of the > migrate_process_pages() call. I don't think we need to worry about the swap case. Let's keep the changes small and build when we see problems. The normal swap out/in mechanism should handle nearly all the page migration issues you are concerned with. Just my 2 cents, Robin -- 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