Re: [PATCH] perf lock: Fix state machine to recognize lock sequence

From: Hitoshi Mitake
Date: Wed Apr 21 2010 - 08:29:19 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/