Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964998AbVJUPzA (ORCPT ); Fri, 21 Oct 2005 11:55:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965000AbVJUPzA (ORCPT ); Fri, 21 Oct 2005 11:55:00 -0400 Received: from omx1-ext.sgi.com ([192.48.179.11]:9399 "EHLO omx1.americas.sgi.com") by vger.kernel.org with ESMTP id S964998AbVJUPy7 (ORCPT ); Fri, 21 Oct 2005 11:54:59 -0400 Date: Fri, 21 Oct 2005 08:54:52 -0700 (PDT) From: Christoph Lameter To: Andrew Morton cc: kravetz@us.ibm.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, magnus.damm@gmail.com, marcelo.tosatti@cyclades.com Subject: Re: [PATCH 0/4] Swap migration V3: Overview In-Reply-To: <20051020160638.58b4d08d.akpm@osdl.org> Message-ID: References: <20051020225935.19761.57434.sendpatchset@schroedinger.engr.sgi.com> <20051020160638.58b4d08d.akpm@osdl.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 Content-Length: 1921 Lines: 45 On Thu, 20 Oct 2005, Andrew Morton wrote: > Christoph Lameter wrote: > > > > Page migration is also useful for other purposes: > > > > 1. Memory hotplug. Migrating processes off a memory node that is going > > to be disconnected. > > > > 2. Remapping of bad pages. These could be detected through soft ECC errors > > and other mechanisms. > > It's only useful for these things if it works with close-to-100% reliability. I think we need to gradually get there. There are other measures implemented by the hotplug that can work in conjunction with these patches to increase the likelyhood of successful migration. Pages that are not on the LRU are very difficult to move and the hotplug project addresses that by not allowing allocation in areas that may be removed etc. > And there are are all sorts of things which will prevent that - mlock, > ongoing direct-io, hugepages, whatever. Right. But these are not a problem for the page migration of processes in order to optimize performance. The hotplug and the remapping of bad pages will require additional effort to get done right. Nevertheless, the material presented here can be used as a basis. > So before we can commit ourselves to the initial parts of this path we'd > need some reassurance that the overall scheme addresses these things and > that the end result has a high probability of supporting hot unplug and > remapping sufficiently well. I think we have that assurance. The hotplug project has worked on these patches for a long time and what we need is a way to gradually put these things into the kernel. We are trying to facilitate that with these patches. - 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/