lkml.org 
[lkml]   [1999]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectunload compiled-in module?
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/

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