From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 21 Feb 2006 10:04:05 -0800 (PST) From: Christoph Lameter Subject: Re: [RFC] 0/4 Migration Cache Overview In-Reply-To: <20060221184016.GA19696@dmt.cnet> Message-ID: References: <1140190593.5219.22.camel@localhost.localdomain> <1140195598.5219.77.camel@localhost.localdomain> <43FA8690.3070608@yahoo.com.au> <20060221184016.GA19696@dmt.cnet> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Marcelo Tosatti Cc: Nick Piggin , Christoph Lameter , Lee Schermerhorn , linux-mm List-ID: On Tue, 21 Feb 2006, Marcelo Tosatti wrote: > The idea was to create a "partition" inside the swapcache which allows > for mapping+offset->pfn translation _without_ actually occupying space > in the swap map (an idr table is used instead). > > But apparently Christoph's mechanism adds the PFN number into > the page table entry itself, thus fulfilling the requirement for > "mapping+offset"->pfn indexing required for removal of pages underneath > a living process. Is that right? Right. Swap ptes contain the index into swap space which I am using to preserve the information contained in the pte's of anonymous pages. Thus the existing swap ptes couild be used. There were just a few minor modifications to the swap functions required. -- 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: email@kvack.org