Re: Bug#160507: hotplug: module removal makes shutdown take a long time and sometimes triggers Oops...
On Mon, Sep 16, 2002 at 01:25:25AM +0200, Russell Coker wrote:
> On Sun, 15 Sep 2002 23:26, Adam Heath wrote:
> > On Sun, 15 Sep 2002, Russell Coker wrote:
> > > Yes, and there are many such bugs. I think that they were considering
> > > removing the module unload functionality from the kernel to resolve such
> > > issues. I've been meaning to listen to the MP3 from the Linux Kernel
> > > Summit on this topic...
> >
> > Er, just because you remove the ability to unload a module, doesn't mean
> > you fix the bug. The bug is now just hidden.
> >
> > *All* code should properly clean up after itself, in all cases.
>
> I recommend that you download and listen to the mp3 of Rusty's talk from the
> 2002 Linux Kernel Summit. It's a 57 minute talk about the problems with the
> current module system and how it's virtually impossible to safely unload
> modules. Rusty is proposing that modules NEVER be unloaded, and in the
> discussion I get the impression that Alan Cox and Theodore Ts'o are taking
> serious note of the issue.
>
> I would not be surprised if kernel 2.6 does not support unloading modules at
> all!
FYI, this seems extremely unlikely. An interface without the races was
proposed and I believe implemented, although it's still beind
discussed.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Reply to: