Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756654Ab0DWIuG (ORCPT ); Fri, 23 Apr 2010 04:50:06 -0400 Received: from mail.windriver.com ([147.11.1.11]:56118 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755915Ab0DWIuB (ORCPT ); Fri, 23 Apr 2010 04:50:01 -0400 Date: Fri, 23 Apr 2010 16:49:26 +0800 From: Yong Zhang To: John Kacur Cc: Peter Zijlstra , LKML , linux-rt-users , Sven-Thorsten Dietrich , Clark Williams , "Luis Claudio R. Goncalves" , Ingo Molnar , Thomas Gleixner , Gregory Haskins Subject: Re: [PATCH] lockdep: Add nr_save_trace_invocations counter Message-ID: <20100423084926.GE21328@windriver.com> Reply-To: Yong Zhang References: <20100423025850.GA21328@windriver.com> <1272009915.1646.25.camel@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 23 Apr 2010 08:49:28.0790 (UTC) FILETIME=[E25EA760:01CAE2C1] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1148 Lines: 32 On Fri, Apr 23, 2010 at 10:31:16AM +0200, John Kacur wrote: > > 8752+871+8+95+5+28+543+28+543+15=10888 > > > > So you get a stack-trace for each direct-dependency, and you get a > > stack-trace for each LOCK_state, the sum seems to match the total > > invocations. > > > > Non of these numbers look strange.. > > > > As I told Peter privately the laptop that triggered the > MAX_STACK_TRACE_ENTRIES every time, has met an > unfortunate early demise. However, I think it was the config - not the > hardware. On this machine where the above > numbers come from, I believe I have less debug options configured - > but it is running the exact same kernel as > the laptop was. (2.6.33.2-rt13) Through a rough computation: MAX_STACK_TRACE_ENTRIES/10888 = 24 That means the average stack deepth is about 24. So I'm thinking if we can take a check on the biggest deepth? Could this make sense? Thanks, Yong -- 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/