From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 31 Jan 2008 01:47:02 -0800 From: Andrew Morton Subject: Re: [PATCH] mm: MADV_WILLNEED implementation for anonymous memory Message-Id: <20080131014702.705f1040.akpm@linux-foundation.org> In-Reply-To: <1201772118.28547.254.camel@lappy> References: <1201714139.28547.237.camel@lappy> <20080130144049.73596898.akpm@linux-foundation.org> <1201769040.28547.245.camel@lappy> <20080131011227.257b9437.akpm@linux-foundation.org> <1201772118.28547.254.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Peter Zijlstra Cc: hugh@veritas.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, npiggin@suse.de, riel@redhat.com, mztabzr@0pointer.de, mpm@selenic.com List-ID: On Thu, 31 Jan 2008 10:35:18 +0100 Peter Zijlstra wrote: > > On Thu, 2008-01-31 at 01:12 -0800, Andrew Morton wrote: > > > Implementation-wise: make_pages_present() _can_ be converted to do this. > > But it's a lot of patching, and the result will be a cleaner, faster and > > smaller core MM. Whereas your approach is easy, but adds more code and > > leaves the old stuff slow-and-dirty. > > > > Guess which approach is preferred? ;) > > Ok, I'll look at using make_pages_present(). Am still curious to know what inspired this change. What are the use cases? Performance testing results, etc? -- 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