by mikedilger · 5y ago · 0 comments
I would call it a message passing system, not an asynchronous syscall facility. A syscall, even one that doesn't block indefinitely, transfers control to the kernel. io_uring, once setup, doesn't. Now that we have multiple cores, there is no reason to context switch if the kernel can handle your request on some other core on which it is perhaps already running.
Is there a middle ground where io_uring doesn't require the mitigations but other syscalls do?
Which makes me wonder if Mach wasn't right all along.