public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: Kurt Garloff <garloff@suse.de>
Cc: Linux kernel list <linux-kernel@vger.kernel.org>
Subject: Re: 2.4.0-test: rmmod -a without effect
Date: Wed, 29 Nov 2000 15:20:07 +1100	[thread overview]
Message-ID: <8313.975471607@kao2.melbourne.sgi.com> (raw)
In-Reply-To: Your message of "Wed, 29 Nov 2000 01:37:22 BST." <20001129013721.C1777@garloff.etpnet.phys.tue.nl>

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/

      reply	other threads:[~2000-11-29  4:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-29  0:37 2.4.0-test: rmmod -a without effect Kurt Garloff
2000-11-29  4:20 ` Keith Owens [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8313.975471607@kao2.melbourne.sgi.com \
    --to=kaos@ocs.com.au \
    --cc=garloff@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox