On Tue, 13 Feb 2007, Linus Torvalds wrote:

>       if (in_async_context())
>               return -EINVAL;
> 
> or similar. We need that "async_context()" function anyway for the other 
> cases where we can't do other things concurrently, like changing the UID.

Yes, that's definitely better. Let's have the policy about weather a 
syscall is or is not async-enabled, inside the syscall itself. Simplify 
things a lot.



- Davide


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

Reply via email to