lkml.org 
[lkml]   [2003]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: module use count & unloading
On Thu, Dec 18, 2003 at 04:03:11PM +0100, Thomas Koeller wrote:
> Hi,
>
> I just learned that it is expected behavior for a module
> to be in use while having an in-use count of zero, see
> http://bugme.osdl.org/show_bug.cgi?id=1693. If this is
> so, how am I supposed to know whether a module can safely
> be unloaded? It also seems the old 'autoclean / modprobe -k'
> functionality from 2.4 is no longer available in 2.6.

It wasn't safe to do that in 2.4 either. That would easily unload your
USB controller drivers, USB keyboard and USB mouse drivers, as they all
do not increment their in-use count.

thanks,

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

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