Re: [patch] hotplug fixes

From: David Woodhouse (dwmw2@infradead.org)
Date: Sun Dec 10 2000 - 12:01:21 EST


On Sun, 10 Dec 2000, Linus Torvalds wrote:

> All user-mode-helpers are async as of this patch.
>
> The reason for the serialization is that we need to wait until the exec()
> has taken place - so that the arguments that the caller set up haven't
> disappeared from the caller stack. The actual execution is asynchronous
> anyway.

OK, I see what's happening. But is it strictly necessary to special-case
it? If we can't use schedule_task() in all situations and hence have to
have code for doing it ourself - why not just do it ourself all the time,
keeping the code simpler?

--
dwmw2

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:19 EST