Re: simple handling of module removals Re: [OKS] Module removal

Richard B. Johnson
2002-07-03T17:22:33Z

On Wed, 3 Jul 2002, Pavel Machek wrote:

> Hi!
>
> Okay. So we want modules and want them unload. And we want it bugfree.
>
> So... then its okay if module unload is *slow*, right?
>
> I believe you can just freeze_processes(), unload module [now its
> safe, you *know* noone is using that module, because all processes are
> in your refrigerator], thaw_processes().
>
> That's going to take *lot* of time, but should be very simple and very
> effective.
>

Absolutely. Nobody cares if it takes many milliseconds to unload a
module. We just don't want to take the 30 or more seconds necessary to
reboot the machine (3 minutes on some embedded '486es with network boots).

Cheers,
Dick Johnson

Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).

Windows-2000/Professional isn't.