Re: [PATCH 09/13] aio: add support for async openat()
From: Ingo Molnar
Date: Tue Jan 12 2016 - 04:53:33 EST
* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> What do you think? Do you think it might be possible to aim for a generic "do
> system call asynchronously" model instead?
> I'm adding Ingo the to cc, because I think Ingo had a "run this list of system
> calls" patch at one point - in order to avoid system call overhead. I don't
> think that was very interesting (because system call overhead is seldom all that
> noticeable for any interesting system calls), but with the "let's do the list
> asynchronously" addition it might be much more intriguing. Ingo, do I remember
> correctly that it was you? I might be confused about who wrote that patch, and I
> can't find it now.
Yeah, it was the whole 'syslets' and 'threadlets' stuff - I had both implemented
and prototyped into a 'list directory entries asynchronously' testcase.
Threadlets was pretty close to what you are suggesting now. Here's a very good (as
usual!) writeup from LWN: