From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by kanga.kvack.org (Postfix) with ESMTP id 2A7A56B00F6 for ; Thu, 16 Jun 2011 18:22:53 -0400 (EDT) Subject: Re: [GIT PULL] Re: REGRESSION: Performance regressions from switching anon_vma->lock to mutex From: Benjamin Herrenschmidt In-Reply-To: <20110616202550.GA16214@elte.hu> References: <1308097798.17300.142.camel@schen9-DESK> <1308134200.15315.32.camel@twins> <1308135495.15315.38.camel@twins> <20110615201216.GA4762@elte.hu> <35c0ff16-bd58-4b9c-9d9f-d1a4df2ae7b9@email.android.com> <20110616070335.GA7661@elte.hu> <20110616171644.GK2582@linux.vnet.ibm.com> <20110616202550.GA16214@elte.hu> Content-Type: text/plain; charset="UTF-8" Date: Fri, 17 Jun 2011 08:21:23 +1000 Message-ID: <1308262883.2516.71.camel@pasglop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Ingo Molnar Cc: "Paul E. McKenney" , Linus Torvalds , Peter Zijlstra , Tim Chen , Andrew Morton , Hugh Dickins , KOSAKI Motohiro , David Miller , Martin Schwidefsky , Russell King , Paul Mundt , Jeff Dike , Richard Weinberger , Tony Luck , KAMEZAWA Hiroyuki , Mel Gorman , Nick Piggin , Namhyung Kim , ak@linux.intel.com, shaohua.li@intel.com, alex.shi@intel.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, "Rafael J. Wysocki" On Thu, 2011-06-16 at 22:25 +0200, Ingo Molnar wrote: > > Whatever does the boosting will need to have process context and > > can be subject to delays, so that pretty much needs to be a > > kthread. But it will context-switch quite rarely, so should not be > > a problem. > > So user-return notifiers ought to be the ideal platform for that, > right? We don't even have to touch the scheduler: anything that > schedules will eventually return to user-space, at which point the > RCU GC magic can run. > > And user-return-notifiers can be triggered from IRQs as well. > > That allows us to get rid of softirqs altogether and maybe even speed > the whole thing up and allow it to be isolated better. I'm a little worried of relying on things returning to userspace. One could imagine something like a router appliance where userspace is essentially asleep forever and everything happens in the kernel (networking via softirq, maybe NFS kernel server, ...) Cheers, Ben. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org