[Preston] Building Modular Kernels

Richard Revis richard at revis.org
Wed Mar 17 12:59:37 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 16 Mar 2004 1:19 pm, Andrew King wrote:
> I'm planning
> on just switching back to compiling everything straight in for a while
> in the interests of making life easier, but just wondering if there's
> any major reason that we're supposed to use modules for that I've forgot.

The main use for modules is being able to load drivers without rebooting. For 
example when you buy a new USB pen drive - compile USB_STORAGE and deps and 
modprobe and it all works.

Unloading kernel modules has no real benefit on operation as they are 
typically a few K for highly complex drivers but it can reduce the long term 
stability of the kernel to repeatedly insert/remove things. As such I believe 
that rmmod has been either depreciated or removed in 2.6.x kernels.

- -- 
Richard Revis
Outgoing e-mail is signed with my PGP key
You may obtain a copy of my key at http://key.revis.org
No permission is granted for unsolicited contact about any promotion,
product or similar including, but not limited to, advertising in any form.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAWEuQ9wKsh92eF6ERAtJ8AJ0axbn3K2Tv6mc1dIq9gx4aFX2o/wCg5gme
bjOZcUNObg+4R+4ZTOLAhyE=
=TRwA
-----END PGP SIGNATURE-----




More information about the Preston mailing list