unload compiled-in module?

Jeff Garzik (jgarzik@pobox.com)
Wed, 18 Aug 1999 17:08:25 -0400


We now have __init and __initdata which is very handy. Next step: is
it possible to conditionally jettison entire modules? Something like

if (extra_feature)
extra_feature_init (); /* found in another module */
else
module_unneeded("extra_module");
/* tell kernel to free memory associated with this compiled-in module
*/

This could potentially save a bunch of memory for certain areas of
compiled kernels.

Regards,

Jeff

-- 
Any sufficiently advanced technology is indistinguishable from a rigged
demo.
	-- Andy Finkel

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/