From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear) From: Peter Zijlstra In-Reply-To: <20070307102106.GB5555@wotan.suse.de> References: <20070307082755.GA25733@elte.hu> <20070307004709.432ddf97.akpm@linux-foundation.org> <20070307010756.b31c8190.akpm@linux-foundation.org> <1173259942.6374.125.camel@twins> <20070307094503.GD8609@wotan.suse.de> <20070307100430.GA5080@wotan.suse.de> <1173262002.6374.128.camel@twins> <20070307102106.GB5555@wotan.suse.de> Content-Type: text/plain Date: Wed, 07 Mar 2007 11:24:45 +0100 Message-Id: <1173263085.6374.132.camel@twins> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Nick Piggin Cc: Miklos Szeredi , akpm@linux-foundation.org, mingo@elte.hu, linux-mm@kvack.org, linux-kernel@vger.kernel.org, benh@kernel.crashing.org List-ID: On Wed, 2007-03-07 at 11:21 +0100, Nick Piggin wrote: > On Wed, Mar 07, 2007 at 11:13:20AM +0100, Miklos Szeredi wrote: > > > *sigh* yes was looking at all that code, thats gonna be darn slow > > > though, but I'll whip up a patch. > > > > Well, if it's going to be darn slow, maybe it's better to go with > > mingo's plan on emulating nonlinear vmas with linear ones. That'll be > > There are real users who want these fast, though. Yeah, why don't we have a tree per nonlinear vma to find these pages? wli mentions shadow page tables.. > > darn slow as well, but at least it will be much less complicated. > > IMO, the best thing to do is just restore msync behaviour, and comment > the fact that we ignore nonlinears. We need to restore msync behaviour > to fix races in regular mappings anyway, at least for now. Seems to be the best quick solution indeed. -- 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