lkml.org 
[lkml]   [2003]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] s390 (2/7): common i/o layer.
On Mon, Oct 06, 2003 at 05:37:04PM +0200, Martin Schwidefsky wrote:
>
> > You can still have a reference to the object when the module is unloaded.
> >
> > unregistered != last reference is gone
>
> Hmpf, I think I see the problem now. We'd need to wait in the module
> exit function until the release function for the root device has been
> called. Can't say I like it but it's probably the easiest way out.

That's a trivial deadlock. You _can't_ do that sysfs. Static kobject in
a module is a bug. Period.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.044 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site