From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755315Ab1FOUzy (ORCPT ); Wed, 15 Jun 2011 16:55:54 -0400 Received: from mail-yi0-f46.google.com ([209.85.218.46]:51475 "EHLO mail-yi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752251Ab1FOUzx (ORCPT ); Wed, 15 Jun 2011 16:55:53 -0400 References: <1308097798.17300.142.camel@schen9-DESK> <1308134200.15315.32.camel@twins> <1308135495.15315.38.camel@twins> <20110615122435.386731e0.akpm@linux-foundation.org> <20110615201611.GB4762@elte.hu> User-Agent: K-9 Mail for Android In-Reply-To: <20110615201611.GB4762@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: REGRESSION: Performance regressions from switching anon_vma->lock to mutex From: Linus Torvalds Date: Wed, 15 Jun 2011 13:55:25 -0700 To: Ingo Molnar , Andrew Morton CC: Peter Zijlstra , Paul McKenney , Tim Chen , Hugh Dickins , KOSAKI Motohiro , Benjamin Herrenschmidt , 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" Message-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ingo Molnar wrote: > >perf record -g will go a long way towards such a tool already - but i >think it would be useful to create a more top-alike view as well. perf record -g doesn't help when the issue is that we're recording a single process and the actual work is being done in another unrelated process that is just being woken up. Sure, you can do a system wide recording, but that shows all kinds of unrelated noise and requires root permissions. So those rcu threads really need to go. Linus