Re: [PATCH 7/7] driver-core : convert semaphore to mutex in struct class

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jarek Poplawski
Date: Tuesday, January 15, 2008 - 6:56 am

On Tue, Jan 15, 2008 at 05:15:27PM +0800, Dave Young wrote:

I hope I'm wrong with this (I don't know this code at all...), and
of course I should've noticed this earlier after all, but I wonder
about this _NESTING corretness here. So, if these variables names
are right, and say about real nesting dependency, then it seems
mutex_lock_nested() should be used consistently even if (currently?)
not forced by lockdep warnings; otherwise this could possibly cover
some other warnings. Alas, if accidentally I'm right, it seems a
bit of new testing would be necessary...

Regards,
Jarek P.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 7/7] driver-core : convert semaphore to mutex i ..., Jarek Poplawski, (Tue Jan 15, 6:56 am)