Re: locking hierarchy based on lockdep

From: Jason Baron
Date: Mon Nov 06 2006 - 15:33:50 EST



On Mon, 6 Nov 2006, Roland Dreier wrote:

> > i like your idea of using lockdep to document locking hierarchies.
>
> Yes, it's definitely a cool idea. I think the current implementation
> is not that useful, since it jams all the unrelated kernel locks into
> a single ordered list, when in fact many locks simply have no ordering
> relationship at all because they're never both taken. This makes the
> list hard to read and in fact loses the information of which locks
> have been taken together.
>
> - R.
>

interesting...perhaps if we layered say the directory structure on the
list too like by the top level kernel directories drivers, kernel, mm,
net, etc. it might be more readable.


-
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/