lkml.org 
[lkml]   [2006]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: locking hierarchy based on lockdep

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

\
 
 \ /
  Last update: 2006-11-06 21:35    [W:0.131 / U:0.424 seconds]
©2003-2014 Jasper Spaans. Advertise on this site