Remix.run Logo
yxhuvud 2 hours ago

And how do you think posix_spawn is implemented?

JdeBP an hour ago | parent [-]

This is an oft-overlooked point. An obvious place to look for improving fork+execve is to see whether posix_spawn can be given more efficient kernel mechanisms to be based upon.

And of course that has already been done. On NetBSD, posix_spawn() is a fully-fledged system call and much of the work is done in kernel mode.

dcrazy 11 minutes ago | parent [-]

This is literally discussed in the article this post links to.