xfs
[Top] [All Lists]

Re: [PATCH] Increase lockdep MAX_LOCK_DEPTH

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH] Increase lockdep MAX_LOCK_DEPTH
From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Date: Fri, 31 Aug 2007 16:36:52 +0200
Cc: David Chinner <dgc@xxxxxxx>, linux-kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>
In-reply-to: <46D826BA.1060705@sandeen.net>
References: <46D79C62.1010304@sandeen.net> <1188542389.6112.44.camel@twins> <20070831135042.GD422459@sgi.com> <46D826BA.1060705@sandeen.net>
Sender: xfs-bounce@xxxxxxxxxxx
On Fri, 2007-08-31 at 09:33 -0500, Eric Sandeen wrote:

> Peter, unless there is some other reason to do so, changing xfs
> performance behavior simply to satisfy lockdep limitations* doesn't seem
> like the best plan.
> 
> I suppose one slightly flakey option would be for xfs to see whether
> lockdep is enabled and adjust cluster size based on MAX_LOCK_DEPTH... on
> the argument that lockdep is likely used in debugging kernels where
> sheer performance is less important... but, that sounds pretty flakey to me.

Agreed, that sucks too :-/

I was hoping there would be a 'nice' solution, a well, again, reality
ruins it.


<Prev in Thread] Current Thread [Next in Thread>