Re: lockdep problem conversion semaphore->mutex (dev->sem)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <peterz@...>
Cc: Remy Bohmer <linux@...>, Ingo Molnar <mingo@...>, Steven Rostedt <rostedt@...>, linux-kernel <linux-kernel@...>, Dave Chinner <dgc@...>
Date: Saturday, December 8, 2007 - 12:53 pm

On Sat, 2007-12-08 at 13:16 +0100, Peter Zijlstra wrote:

It must be the locking in __driver_attach(), taking dev->parent->sem
then taking dev->sem .. Assuming those are different structures, why
does lockdep trigger?

Daniel

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: lockdep problem conversion semaphore->mutex (dev->sem), Daniel Walker, (Sat Dec 8, 12:53 pm)