Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261224AbVALSnz (ORCPT ); Wed, 12 Jan 2005 13:43:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261227AbVALSnz (ORCPT ); Wed, 12 Jan 2005 13:43:55 -0500 Received: from omx3-ext.sgi.com ([192.48.171.20]:4250 "EHLO omx3.sgi.com") by vger.kernel.org with ESMTP id S261224AbVALSne (ORCPT ); Wed, 12 Jan 2005 13:43:34 -0500 Message-ID: <41E57038.6060701@sgi.com> Date: Wed, 12 Jan 2005 12:45:12 -0600 From: Ray Bryant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Hugh Dickins CC: Robin Holt , Steve Longerbeam , Andi Kleen , Hirokazu Takahashi , Dave Hansen , Marcello Tosatti , Kernel Mailing List , linux-mm , andrew morton Subject: Re: page migration patchset References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1718 Lines: 41 Hugh Dickins wrote: > On Wed, 12 Jan 2005, Robin Holt wrote: > >>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. At the moment, this discussion is moot (for my application at least). For our workloads, we almost never swap, we are going to ignore migrating swapped out pages until such a time that we see a performance need for same. If that point ever comes, we will have to solve this problem then. -- Best Regards, Ray ----------------------------------------------- Ray Bryant 512-453-9679 (work) 512-507-7807 (cell) raybry@sgi.com raybry@austin.rr.com The box said: "Requires Windows 98 or better", so I installed Linux. ----------------------------------------------- - 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/