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: Thursday, January 17, 2008 - 3:02 pm

On Thu, Jan 17, 2008 at 09:31:55PM +0100, Jarek Poplawski wrote:
...

BTW, Dave, if it's only about one such "second class" here, then it
shouldn't be so hard to try this one more level of nesting. I think,
the real problem for lockdep starts when there are more such "second
classes", but it's probably in another place.

You could also have a look at e.g. enum_inode_i_mutex_lock_class in
include/linux/fs.h and fh_lock_nested() in include/linux/nfsd/nfsfh.h,
and maybe define similar enum for this.

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, (Thu Jan 17, 3:02 pm)