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
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.

It's a pure userspace question now. Well, almost, except of the
single bit which were kept before 2.6 for each module - if it
was loaded with -k flag (auto-unload) or not.

Better question to ask, IMHO, is why network drivers don't gets
referenced properly as all other drivers are. Because right now
they're unused even if the network interfaces are up-n-running,
and rmmod'ing a seemingly unused module will cause that particular
interface to be removed too...

/mjt


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