[lkml]   [2008]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 01/12] Use mutex instead of semaphore in driver core
On Sat, 29 Dec 2007, David Brownell wrote:

> > There's no way to remove these, which means there's no way to prevent
> > lockdep from issuing a warning.
> There may be no *efficient* way to do that. If it tracked every lock
> individually these false alarms could go away; but that would increase
> the overhead to create and destroy such locks too.

And it would also do something completely different compared to what
lockdep is doing now.

The point is being able to spot the potential deadlock before it actually
happens. If you track individual instances instead of classess, you are
out of luck with this.

Jiri Kosina

 \ /
  Last update: 2008-01-08 17:59    [W:0.073 / U:8.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site