From: Oliver Neukum <oliver@neukum.name>
To: Patrick Mochel <mochel@osdl.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Driver reference counting and locking, again
Date: Tue, 16 Jul 2002 11:38:44 +0200 [thread overview]
Message-ID: <200207161138.44246.oliver@neukum.name> (raw)
In-Reply-To: <Pine.LNX.4.33.0207151743100.14360-100000@geena.pdx.osdl.net>
Am Dienstag, 16. Juli 2002 02:56 schrieb Patrick Mochel:
> Ok, here is another stab at trying to get reference counting and locking
> right for drivers.
>
> The short of it is that struct device_driver gets an owner field, which
> should be initialized to THIS_MODULE in the driver.
In your implementation it would seem that get_driver can suceed while
remove_driver is already running and the deletion from bus_list has
already happened.
Regards
Oliver
next prev parent reply other threads:[~2002-07-16 9:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-16 0:56 Patrick Mochel
2002-07-16 9:38 ` Oliver Neukum [this message]
2002-07-16 17:19 ` 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=200207161138.44246.oliver@neukum.name \
--to=oliver@neukum.name \
--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
all inboxes | Powered by JetHome®