From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with SMTP id B14996B0012 for ; Wed, 15 Jun 2011 12:19:51 -0400 (EDT) Date: Wed, 15 Jun 2011 09:18:27 -0700 From: Andi Kleen Subject: Re: REGRESSION: Performance regressions from switching anon_vma->lock to mutex Message-ID: <20110615161827.GA11769@tassilo.jf.intel.com> References: <1308097798.17300.142.camel@schen9-DESK> <1308101214.15392.151.camel@sli10-conroe> <1308138750.15315.62.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1308138750.15315.62.camel@twins> Sender: owner-linux-mm@kvack.org List-ID: To: Peter Zijlstra Cc: Shaohua Li , Tim Chen , Andrew Morton , Linus Torvalds , Hugh Dickins , KOSAKI Motohiro , Benjamin Herrenschmidt , David Miller , Martin Schwidefsky , Russell King , Paul Mundt , Jeff Dike , Richard Weinberger , "Luck, Tony" , KAMEZAWA Hiroyuki , Mel Gorman , Nick Piggin , Namhyung Kim , "Shi, Alex" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "Rafael J. Wysocki" > Good spot that certainly isn't plain .39. True. > > It looks like those (http://marc.info/?l=linux-mm&m=130533041726258) are > similar to Linus' patch, except Linus takes the hard line that the root One difference to Linus' patch is that it does batching for both fork+exit. I suspect Linus' patch could probably too. But the fork+exit patch only improved things slightly, it's very unlikely to recover 52%. Maybe the overall locking here needs to be revisited. And in general it looks like blind conversion from spinlock to mutex is a bad idea right now. -Andi -- 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