Re: New AIO API

From: Rusty Russell
Date: Mon Apr 15 2013 - 21:29:59 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
> On Fri, 12 Apr 2013 15:28:56 -0700 Kent Overstreet <koverstreet@xxxxxxxxxx> wrote:
>> Those are the main changes (besides adding attributes, of course) that
>> I've made so far.
>>
>> * Get rid of the parallel syscall interface
>>
>> AIO really shouldn't be implementing its own slightly different
>> syscalls; it should be a mechanism for doing syscalls asynchronously.
>
> Yes. We got about a twelfth of the way there many years ago
> (google("syslets")) but it died. A shame.

Yeah, letting the current process keep waiting and creating a new one
which returns is a fascinating idea, but you really need to swizzle the
PIDs so that the "new" one is identical to the old. Otherwise the API
is unbearable...

Good luck!
Rusty.
--
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/