[lkml]   [2002]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Several Misc SCSI updates...

On Sun, 17 Nov 2002, Linus Torvalds wrote:

> On Sun, 17 Nov 2002, Doug Ledford wrote:
> >
> > Won't work. module->live is what Rusty uses to indicate that the module
> > is in the process of unloading, which is when we *do* want the attempt to
> > module_get() to fail.
> That's fine, as long as "module_get()" is the only thing that cares. Just
> make it go "live" early as you indicate, and everybody should be happy. I
> certainly agree that it should be illegal to do more module_get()'s once
> we've already started unloading..

On the unload side it's OK. module_get() also breaks during _init_ and that's
the problem. IOW, you'll need to make every block device driver to set ->live
manually. Smells like a wrong API...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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