Re: Locking changes to the driver-model core

From: Dmitry Torokhov
Date: Wed Mar 16 2005 - 17:20:41 EST


On Wed, 16 Mar 2005 16:10:11 -0500 (EST), linux-os
<linux-os@xxxxxxxxxxxx> wrote:
>
> Thought experiment:
> Suppose you had a kernel-thread whos duty it was to handle the
> shutdown and restarting of devices on such busses. Since it
> is the only thing that would touch such code, wouldn't things
> be a lot simpler and not subject to deadlocks?
>

You'd still have to mind devices that were added/removed from
probe/remove handlers while walking lists.

--
Dmitry
-
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/