From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756990Ab0GAPt1 (ORCPT ); Thu, 1 Jul 2010 11:49:27 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:62629 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752142Ab0GAPtZ (ORCPT ); Thu, 1 Jul 2010 11:49:25 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=nq2NGzIG5XCC4XPXBwtR7MQU3pcs7Z2EDGrtHwX6lv/NYAl9pos4rgzsNf4ECfxzie Z3EtiAaCOyenqhuamXlhbEkpqsW8pxOXIuaedPFvveRmJr+rcElfg/v40RsuT+JhlUiG 7IpuDCRCv47RXICGkUHdiuZvjXwmNJIfZ/Fpw= Date: Thu, 1 Jul 2010 17:49:34 +0200 From: Frederic Weisbecker To: Peter Zijlstra Cc: LKML , Ingo Molnar , Arnaldo Carvalho de Melo , Paul Mackerras , Stephane Eranian , David Miller , Paul Mundt , Will Deacon , Borislav Petkov Subject: Re: [RFC PATCH 3/6] perf: Generalize some arch callchain code Message-ID: <20100701154922.GC10616@nowhere> References: <1277998562-21366-1-git-send-regression-fweisbec@gmail.com> <1277998562-21366-4-git-send-regression-fweisbec@gmail.com> <1277999161.1917.216.camel@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1277999161.1917.216.camel@laptop> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 01, 2010 at 05:46:01PM +0200, Peter Zijlstra wrote: > On Thu, 2010-07-01 at 17:35 +0200, Frederic Weisbecker wrote: > > - Most archs use one callchain buffer per cpu, except x86 that needs > > to deal with NMIs. Provide a default perf_callchain_buffer() > > implementation that x86 overrides. > > sparc and power also have NMI like contexts. Ah and the comments suggest it's because pmu interrupts can't nest or so. Anyway, that's notwithstanding the race that 5th patch fixes.