Re: [RFC] fix sysfs symlinks

From: viro
Date: Wed Apr 14 2004 - 02:29:03 EST


On Wed, Apr 14, 2004 at 12:47:56PM +0530, Maneesh Soni wrote:
> On Wed, Apr 14, 2004 at 08:02:27AM +0100, viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> > On Wed, Apr 14, 2004 at 12:10:16PM +0530, Maneesh Soni wrote:
> > > I am not sure, if pinning the kobject for the life time of symlink (dentry)
> > > may result in same problems like rmmod hang which we saw in case of pinning
> > > kobject for the life time of its directory (dentry).
> >
> > Erm... If rmmod _ever_ waits for refcount on kobject to reach zero, it's
> > already broken. Do you have any examples of such behaviour?
>
> One such example is here in this bug report related to pcmica yenta socket.
> http://bugme.osdl.org/show_bug.cgi?id=1884
>
> Another one is very recent in this long thread related to USB
> http://thread.gmane.org/gmane.linux.usb.devel/20468

USB folks have no clue on sane lifetime rules, film at 11...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/