lkml.org 
[lkml]   [2010]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2010-01-03 07:07    [W:0.618 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site