From: Christoph Hellwig <hch@infradead.org>
To: James Bottomley <James.Bottomley@steeleye.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>,
Mike Anderson <andmike@us.ibm.com>
Subject: Re: [PATCH] correct module refcounting
Date: Fri, 31 Oct 2003 12:18:41 +0000 [thread overview]
Message-ID: <20031031121841.A16828@infradead.org> (raw)
In-Reply-To: <1067377564.1788.39.camel@mulgrave>; from James.Bottomley@steeleye.com on Tue, Oct 28, 2003 at 03:46:02PM -0600
On Tue, Oct 28, 2003 at 03:46:02PM -0600, James Bottomley wrote:
> There's a race window between doing the last scsi_device_put and having
> the devices actually released where the module may be unloaded. The fix
> is to move the module accounting into the
> scsi_allocate_sdev/scsi_free_sdev pieces of the SCSI routines.
That would mean we can't rmmod a LLDD without first removing all device
through sysfs, or did I get it completely wrong?
--
Christoph Hellwig <hch@lst.de> - Freelance Hacker
Contact me for driver hacking and kernel development consulting
next prev parent reply other threads:[~2003-10-31 12:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-28 21:46 [PATCH] correct module refcounting James Bottomley
2003-10-29 0:17 ` Mike Anderson
2003-10-29 0:42 ` James Bottomley
2003-10-29 1:46 ` Mike Anderson
2003-10-31 12:18 ` Christoph Hellwig [this message]
2003-10-31 15:00 ` James Bottomley
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=20031031121841.A16828@infradead.org \
--to=hch@infradead.org \
--cc=James.Bottomley@steeleye.com \
--cc=andmike@us.ibm.com \
--cc=linux-scsi@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