Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752800Ab0DUI4H (ORCPT ); Wed, 21 Apr 2010 04:56:07 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:50930 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751173Ab0DUI4D (ORCPT ); Wed, 21 Apr 2010 04:56:03 -0400 Subject: Re: [PATCH] perf lock: Fix state machine to recognize lock sequence From: Peter Zijlstra To: Frederic Weisbecker Cc: Hitoshi Mitake , mingo@elte.hu, linux-kernel@vger.kernel.org, h.mitake@gmail.com, Paul Mackerras , Arnaldo Carvalho de Melo , Jens Axboe , Jason Baron , Xiao Guangrong In-Reply-To: <20100421012651.GC7120@nowhere> References: <4BC09546.5050309@dcl.info.waseda.ac.jp> <1271407446-27180-1-git-send-email-mitake@dcl.info.waseda.ac.jp> <20100421012651.GC7120@nowhere> Content-Type: text/plain; charset="UTF-8" Date: Wed, 21 Apr 2010 10:55:58 +0200 Message-ID: <1271840158.1776.63.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 583 Lines: 13 On Wed, 2010-04-21 at 03:26 +0200, Frederic Weisbecker wrote: > The max lockdep depth may > change in the future, or become variable, so we can't relay on that. > Change, possible, variable unlikely, you need a memory allocation to extend it, and memory allocation takes locks, which is not a nice thing to do in the middle of lockdep. -- 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/