From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422707AbXCGKVL (ORCPT ); Wed, 7 Mar 2007 05:21:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422712AbXCGKVL (ORCPT ); Wed, 7 Mar 2007 05:21:11 -0500 Received: from ns.suse.de ([195.135.220.2]:41916 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422707AbXCGKVK (ORCPT ); Wed, 7 Mar 2007 05:21:10 -0500 Date: Wed, 7 Mar 2007 11:21:06 +0100 From: Nick Piggin To: Miklos Szeredi Cc: a.p.zijlstra@chello.nl, akpm@linux-foundation.org, mingo@elte.hu, linux-mm@kvack.org, linux-kernel@vger.kernel.org, benh@kernel.crashing.org Subject: Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear) Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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. > 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.