lkml.org 
[lkml]   [2000]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.4.0-test: rmmod -a without effect
Date
On Wed, 29 Nov 2000 01:37:22 +0100,
Kurt Garloff <garloff@suse.de> wrote:
>this is a 2.4.0-test11 system;
>rmmod -a (modutils-2.3.21) fails to unload unused autocleanable modules:

Designed behaviour. sys_delete_module only removes autoclean modules
that have been used at least once, either they have been used or some
other module has a reference to them. Otherwise you get nasty races
like this

cpu 0 cpu 1
request_module(foo)
modprobe -k foo
insmod -k foo
foo is loaded, unused
kernel sees foo has loaded
rmmod -a
kernel uses foo

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

\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.031 / U:1.732 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site