Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751119Ab0AEIf4 (ORCPT ); Tue, 5 Jan 2010 03:35:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750806Ab0AEIfz (ORCPT ); Tue, 5 Jan 2010 03:35:55 -0500 Received: from casper.infradead.org ([85.118.1.10]:35746 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750797Ab0AEIfz (ORCPT ); Tue, 5 Jan 2010 03:35:55 -0500 Subject: Re: [RFC][PATCH 6/8] mm: handle_speculative_fault() From: Peter Zijlstra To: Minchan Kim Cc: Linus Torvalds , KAMEZAWA Hiroyuki , "Paul E. McKenney" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , cl@linux-foundation.org, "hugh.dickins" , Nick Piggin , Ingo Molnar In-Reply-To: <28c262361001042209k7241dd38l3d51d230e7b68a5@mail.gmail.com> References: <20100104182429.833180340@chello.nl> <20100104182813.753545361@chello.nl> <20100105092559.1de8b613.kamezawa.hiroyu@jp.fujitsu.com> <28c262361001042029w4b95f226lf54a3ed6a4291a3b@mail.gmail.com> <28c262361001042209k7241dd38l3d51d230e7b68a5@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 05 Jan 2010 09:35:21 +0100 Message-ID: <1262680521.2400.25.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 700 Lines: 17 On Tue, 2010-01-05 at 15:09 +0900, Minchan Kim wrote: > Couldn't we synchronize rcu in that cases(munmap, exit and so on)? > It can delay munap and exit but it would be better than handling them by more > complicated things, I think. And both cases aren't often cases so we > can achieve advantage than disadvantage? Sadly there are programs that mmap()/munmap() at a staggering rate (clamav comes to mind), so munmap() performance is important too. -- 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/