From: Greg KH <greg@kroah.com>
To: Arnd Bergmann <arnd@bergmann-dalldorf.de>
Cc: Patrick Mochel <mochel@osdl.org>,
linux-kernel@vger.kernel.org, Arnd Bergmann <arndb@de.ibm.com>
Subject: Re: device model documentation 3/3
Date: Wed, 5 Jun 2002 10:51:52 -0700 [thread overview]
Message-ID: <20020605175152.GE3275@kroah.com> (raw)
In-Reply-To: <200206051224.g55COIZ208776@d06relay02.portsmouth.uk.ibm.com>
On Wed, Jun 05, 2002 at 04:24:18PM +0200, Arnd Bergmann wrote:
> On Tue Jun 04 2002 - 11:25:19 EST,
> Patrick Mochel <mochel@osdl.org> wrote:
>
> > When a driver is removed, the list of devices that it supports is
> > iterated over, and the driver's remove callback is called for each
> > one. The device is removed from that list and the symlinks removed.
>
> Maybe I'm blind, but I can't see how this works without races for
> bridge device drivers. Imagine for example what happens when I rmmod
> a usb hcd driver. Its module use count should be zero as long as the
> devices attached to it are not in use, right?
A USB HCD driver module use count is always zero, so you can always
unload it. Now if this is a good idea or not is debatable :)
thanks,
greg k-h
next prev parent reply other threads:[~2002-06-05 17:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-05 14:24 device model documentation 3/3 Arnd Bergmann
2002-06-05 17:51 ` Greg KH [this message]
2002-06-05 18:56 ` Patrick Mochel
2002-06-06 13:19 ` Arnd Bergmann
-- strict thread matches above, loose matches on Subject: below --
2002-06-04 16:25 Patrick Mochel
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=20020605175152.GE3275@kroah.com \
--to=greg@kroah.com \
--cc=arnd@bergmann-dalldorf.de \
--cc=arndb@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mochel@osdl.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