Re:Unix System Call Timeouts
by nwmcsween on Monday March 13, 2017 @02:30AM
(#13855667)
A better solution is to have async syscalls, this helps both the scheduler (you could batch return) and given a proper language the developer as well. The microkernel approach still suffers from the high context switch overhead and IMO it would be better to use something similar to an exokernel while implementing most things in userspace.
[ Parent
| on HN ]
The problem with asynchronous operations is that there has to be a buffer somewhere. Once you have a buffer, you have to answer the question: what happens when the buffer is full? If the answer is to block, then you haven't really solved anything.
This is why you want something like an exokernel.