Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754283Ab0DUM3Q (ORCPT ); Wed, 21 Apr 2010 08:29:16 -0400 Received: from ns.dcl.info.waseda.ac.jp ([133.9.216.194]:60911 "EHLO ns.dcl.info.waseda.ac.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753886Ab0DUM3N (ORCPT ); Wed, 21 Apr 2010 08:29:13 -0400 Message-ID: <4BCEEF96.3060104@dcl.info.waseda.ac.jp> Date: Wed, 21 Apr 2010 21:29:10 +0900 From: Hitoshi Mitake User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091211 Shredder/3.0 MIME-Version: 1.0 To: Peter Zijlstra CC: Frederic Weisbecker , mingo@elte.hu, linux-kernel@vger.kernel.org, h.mitake@gmail.com, Paul Mackerras , Arnaldo Carvalho de Melo , Jens Axboe , Jason Baron , Xiao Guangrong Subject: Re: [PATCH] perf lock: Fix state machine to recognize lock sequence References: <4BC09546.5050309@dcl.info.waseda.ac.jp> <1271407446-27180-1-git-send-email-mitake@dcl.info.waseda.ac.jp> <20100421012651.GC7120@nowhere> <1271840158.1776.63.camel@laptop> In-Reply-To: <1271840158.1776.63.camel@laptop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 770 Lines: 19 On 04/21/10 17:55, Peter Zijlstra wrote: > 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. Thanks for your clear description. It seems that we can think that maximum depth of lock will not be variable. Thanks, Hitoshi -- 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/