public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Semphore -> mutex in the device tree
@ 2008-04-17 15:22 Alan Stern
  2008-04-17 15:45 ` Peter Zijlstra
  0 siblings, 1 reply; 9+ messages in thread
From: Alan Stern @ 2008-04-17 15:22 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: Kernel development list

Peter:

The obstacle to converting the semaphore in struct device to a mutex 
has been that its tree-oriented usage pattern isn't compatible with 
lockdep.

In order to get around this and at least begin the conversion process,
how about adding a provision for making some classes of mutex invisible
to lockdep?  I know it doesn't solve the fundamental problem, but maybe
it's a step in the right direction.

Alan Stern


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-04-18 21:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-17 15:22 Semphore -> mutex in the device tree Alan Stern
2008-04-17 15:45 ` Peter Zijlstra
2008-04-17 16:11   ` Alan Stern
2008-04-17 16:17     ` Peter Zijlstra
2008-04-17 18:43       ` Alan Stern
2008-04-18  6:32         ` Peter Zijlstra
2008-04-18 14:27           ` Alan Stern
2008-04-18 15:32             ` Peter Zijlstra
2008-04-18 21:45               ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox