Re: [Patch 3/3] Driver core: Per-subsystem multithreaded probing.
From: Alan Stern
Date: Mon Oct 16 2006 - 17:45:26 EST
On Mon, 16 Oct 2006, Duncan Sands wrote:
> > That's not quite true. You could acquire dev->parent->sem always, just to
> > be certain. However USB shouldn't use this form of multithreaded probing
> > in any case; it should instead use multiple threads for khubd.
>
> Is anyone working on this (multiple threads for khubd)?
Not as far as I know. It should be trivial, though. Just start several
threads instead of only one during initialization, and stop them all
during cleanup. And have the threads use a wait queue instead of calling
wait_event_interruptible().
Alan Stern
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/