lkml.org 
[lkml]   [2009]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Unused modules in 2.6.x
On Wed, Feb 25, 2009 at 05:52:49PM +0000, Alex Buell wrote:
> Hi,
>
> Perhaps I missed something when the 2.6.x kernels got started a few
> years back, but why is it not possible for unused modules to be
> automatically unloaded anymore i.e with rmmod -a? I remember being able
> to do that with the 2.2.x and 2.4.x series a long time ago.

Because if you do that, lots of modules that were being "used" by the
system would get unloaded (usb host controllers, network drivers, etc.)

So it makes sense not to do that anymore. See the linux-kernel archives
about 6 years ago for details if you are curious about this historical
issue (hint, it could burn you very badly even in 2.2 and 2.4...)

good luck,

greg k-h


\
 
 \ /
  Last update: 2009-02-25 20:47    [W:0.046 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site