Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753694Ab0AEGMz (ORCPT ); Tue, 5 Jan 2010 01:12:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750910Ab0AEGMz (ORCPT ); Tue, 5 Jan 2010 01:12:55 -0500 Received: from fgwmail7.fujitsu.co.jp ([192.51.44.37]:43533 "EHLO fgwmail7.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750696Ab0AEGMy (ORCPT ); Tue, 5 Jan 2010 01:12:54 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Tue, 5 Jan 2010 15:09:32 +0900 From: KAMEZAWA Hiroyuki To: Minchan Kim Cc: Linus Torvalds , Peter Zijlstra , "Paul E. McKenney" , Peter Zijlstra , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , cl@linux-foundation.org, "hugh.dickins" , Nick Piggin , Ingo Molnar Subject: Re: [RFC][PATCH 6/8] mm: handle_speculative_fault() Message-Id: <20100105150932.ab2e6820.kamezawa.hiroyu@jp.fujitsu.com> 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> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 753 Lines: 21 On Tue, 5 Jan 2010 15:09:47 +0900 Minchan Kim wrote: > My humble opinion is following as. > > 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? > In most case, a program is single threaded. And sychronize_rcu() in unmap path just adds very big overhead. Thanks, -Kame -- 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/