if I had to name a single thing OS kernels could change to improve interfaces, it would be to make syscalls as cheap as function calls across shared object boundaries
-
-
Replying to @whitequark
vdso(7) tries to go there for the cases where it makes sense…
1 reply 0 retweets 0 likes -
Replying to @edefic
the entire syscall interface could have been designed in a completely different way if it was really cheap to perform them
2 replies 0 retweets 1 like -
Replying to @whitequark @edefic
There's actually a lot you can do vdso-like. Anything not crossing priv domains.
1 reply 0 retweets 0 likes -
setprocmask could obviously be an atomic on a shared page. Likewise for other process properties you don't need privs to change or read.
5 replies 0 retweets 1 like
Even read/write on pipes could be done in userspace when all processes with access are in same priv domain.
7:46 PM - 1 Mar 2018
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.