Messages in this thread | | | Date | Tue, 13 Feb 2007 12:26:55 -0800 (PST) | From | Davide Libenzi <> | Subject | Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support |
| |
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |