Messages in this thread | | | Date | Sun, 03 Jan 2010 15:05:35 +0900 | From | Tejun Heo <> | Subject | Re: drm_vm.c:drm_mmap: possible circular locking dependency detected |
| |
Hello,
On 01/03/2010 02:38 PM, Eric W. Biederman wrote: >> How about simply introducing an interface to mark sysfs nodes which >> don't require active reference counting and using them on those nodes? > > That might work. However it does not seem to address the case of > bond_sysfs, especially with someone doing rmmod bonding.
Ah... okay, now I remember this. Yeah, I ripped off module ref counting from sysfs ops. I completely forgot about that and was thinking we still had module ref counting on sysfs ops. The logical thing to do would be restoring module ref counting on sysfs ops which won't go through active ref counting. ie. Let the interface which switch off active ref counting require module owner so that it uses module ref counting instead of active ref counting.
Thanks.
-- tejun
| |