Comment by dcrazy

1 day ago

Syscalls aren’t all that cheap either.

io_uring taught us that if syscalls are expensive, queue them up in a buffer with one syscall to transfer the thread to the os to process it. So, queue up the new process mutations in a buffer with a single syscall to process all of them in a batch. This model should have replaced repetitive syscalls across the kernel years ago.

This true, but these methods don't increase the number of syscalls you need to make.