Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759731Ab0FPVeI (ORCPT ); Wed, 16 Jun 2010 17:34:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43380 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759715Ab0FPVeE (ORCPT ); Wed, 16 Jun 2010 17:34:04 -0400 Date: Wed, 16 Jun 2010 23:33:42 +0200 (CEST) From: John Kacur X-X-Sender: jkacur@localhost.localdomain To: Peter Zijlstra cc: Thomas Gleixner , lkml , rt-users , Clark Williams , Arnaldo Carvalho de Melo , Ingo Molnar , Sven-Thorsten Dietrich , ghaskins@novell.com Subject: Re: [PATCH 2/6: v4] lockdep: Make MAX_STACK_TRACE_ENTRIES configurable. In-Reply-To: <1276723008.2077.9574.camel@twins> Message-ID: References: <1276554087-3632-1-git-send-email-jkacur@redhat.com> <1276554087-3632-3-git-send-email-jkacur@redhat.com> <1276714154.1745.623.camel@laptop> <1276723008.2077.9574.camel@twins> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1839 Lines: 46 On Wed, 16 Jun 2010, Peter Zijlstra wrote: > On Wed, 2010-06-16 at 22:37 +0200, John Kacur wrote: > > > > On Wed, 16 Jun 2010, Peter Zijlstra wrote: > > > > > On Tue, 2010-06-15 at 00:21 +0200, John Kacur wrote: > > > > Certain debug configurations that have LOCKDEP turned on, run into the limit > > > > where the MAX_STACK_TRACE_ENTRIES are too small. Rather than simply turning > > > > off the locking correctness validator, let the user configure this value > > > > to something reasonable for their system. > > > > > > > > This patch was generated against 2.6.33.5-rt23 but is also intended to be > > > > picked-up for mainline. > > > > > > NACK > > > > > > patches like 4726f2a617ebd868a4fdeb5679613b897e5f1676 are the way to go. > > > > I've been testing 4726f2a617ebd868a4fdeb5679613b897e5f1676 in rt > > (Thomas has it in tip/rt/2.6.33 now) and so far it is doing the trick for > > me, at least on my laptop. I still need to test it on larger machines. > > However, this problem seems to continuably come up, and I'm not the only > > one who has expessed the wish / need to have this tunable. > > And simply increasing the number without thought is the worst approach > ever and I'm simply not going to merge it. > > Also, google doesn't seem to index msg-ids, so I've no idea what you're > referring to. > -- The first mail in which Gregory also expressed desire to make this tunable is here http://lkml.org/lkml/2010/4/21/123 The second in which Sven said in certain configurations they might even tune it down (decrease) is here. http://lkml.org/lkml/2010/4/21/183 -- 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/