From: Thomas Koeller <thomas@koeller.dyndns.org>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: module use count & unloading
Date: Thu, 18 Dec 2003 23:03:04 +0100 [thread overview]
Message-ID: <200312182303.05024.thomas@koeller.dyndns.org> (raw)
In-Reply-To: <20031218163756.GA20882@kroah.com>
On Thursday 18 December 2003 17:37, Greg KH wrote:
>
> 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 for your reply. I am, however, somewhat confused now. If the
in-use count cannot be trusted, then unloading a module is a fundamentally
unsafe operation, and a tool like 'rmmod' should not exist at all. I also
remember that in 2.4 periodic unloading of all unused autoloaded modules
by a cron job used to work just fine. And finally, if module unloading is
inherently unsafe, what is the significance of all this stuff about
forced module unloading and its dangers?
I assumed this was a bug at first and reported it as one, because I could
not make much sense of it. Now that I've been told that this kind of
behavior is actually intended, I still cannot...
tk
--
Thomas Koeller
thomas at koeller dot dyndns dot org
next prev parent reply other threads:[~2003-12-18 22:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-18 15:03 Thomas Koeller
2003-12-18 16:37 ` Greg KH
2003-12-18 22:03 ` Thomas Koeller [this message]
2003-12-18 22:22 ` Greg KH
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=200312182303.05024.thomas@koeller.dyndns.org \
--to=thomas@koeller.dyndns.org \
--cc=greg@kroah.com \
--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
all inboxes | Powered by JetHome®