From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Duncan Sands <duncan.sands@math.u-psud.fr>,
Greg K-H <greg@kroah.com>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [Patch 3/3] Driver core: Per-subsystem multithreaded probing.
Date: Mon, 16 Oct 2006 17:26:31 +0200 [thread overview]
Message-ID: <20061016172631.47d3eb70@gondolin.boeblingen.de.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0610161040570.7103-100000@iolanthe.rowland.org>
On Mon, 16 Oct 2006 10:59:28 -0400 (EDT),
Alan Stern <stern@rowland.harvard.edu> wrote:
> That's not quite true. You could acquire dev->parent->sem always, just to
> be certain.
But dev->parent->sem wouldn't be taken in the non-multithreaded path,
so we would change the semantics.
> However USB shouldn't use this form of multithreaded probing
> in any case; it should instead use multiple threads for khubd.
OK, so usb shouldn't request multithreaded probe.
> > but
> > that still results in bus->remove being called without a prior ->probe
> > (but not drv->probe since dev->driver is not set at that time).
>
> How so? We shouldn't call bus->remove if a driver isn't bound.
Eh, yes. I was confused :)
> Some other things were left out of the patch. Since we can no longer know
> whether any drivers will get bound at all, device_attach() should now
> return void.
But device_bind_driver() may still return an error, if creating the
links failed.
--
Cornelia Huck
Linux for zSeries Developer
Tel.: +49-7031-16-4837, Mail: cornelia.huck@de.ibm.com
next prev parent reply other threads:[~2006-10-16 15:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 8:44 Cornelia Huck
2006-10-16 9:13 ` Duncan Sands
2006-10-16 10:56 ` Cornelia Huck
2006-10-16 14:59 ` Alan Stern
2006-10-16 15:26 ` Cornelia Huck [this message]
2006-10-16 15:56 ` Alan Stern
2006-10-16 17:04 ` Cornelia Huck
2006-10-16 21:27 ` Alan Stern
2006-10-16 19:05 ` Duncan Sands
2006-10-16 21:45 ` Alan Stern
2006-10-16 15:11 ` Alan Stern
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=20061016172631.47d3eb70@gondolin.boeblingen.de.ibm.com \
--to=cornelia.huck@de.ibm.com \
--cc=duncan.sands@math.u-psud.fr \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/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®