Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758218Ab2EaOFG (ORCPT ); Thu, 31 May 2012 10:05:06 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:50055 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758187Ab2EaOFD (ORCPT ); Thu, 31 May 2012 10:05:03 -0400 Subject: Re: [PATCH/RFC 2/2] perf tools: Check callchain is corrupted From: Namhyung Kim To: Arnaldo Carvalho de Melo Cc: Namhyung Kim , Peter Zijlstra , Paul Mackerras , Ingo Molnar , LKML , Sunjin Yang , Arun Sharma In-Reply-To: <20120531134557.GB13591@infradead.org> References: <1338443007-24857-1-git-send-email-namhyung.kim@lge.com> <1338443007-24857-2-git-send-email-namhyung.kim@lge.com> <20120531134557.GB13591@infradead.org> Content-Type: text/plain; charset="UTF-8" Date: Thu, 31 May 2012 23:04:37 +0900 Message-ID: <1338473077.1484.8.camel@leonhard> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1073 Lines: 31 Hi, 2012-05-31 (목), 10:45 -0300, Arnaldo Carvalho de Melo: > Em Thu, May 31, 2012 at 02:43:27PM +0900, Namhyung Kim escreveu: > > We faced segmentation fault on perf top -G at very high sampling > > rate due to a corrupted callchain. While the root cause was not > > revealed (I failed to figure it out), this patch tries to protect > > us from the segfault on such cases. > > Capping the callchain lenght may even be a feature, not a consistency > check, but I don't know how long, for consistency checking, we should > consider too much, as there are cases of loooong callchains. > Maybe we should consider applying (a part of, at least) Arun's multiple stack patchset. Also note that Linus complained about the current stack depth (255) is too long. https://lkml.org/lkml/2012/4/20/497 -- Regards, Namhyung Kim -- 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/