News for hackers. Stuff that matters.
Re:Comparison of Rust async and Linux thread context switch ... by quotemstr on Thursday February 11, 2021 @11:45PM (#26110818)
io_uring is specifically designed so that zero system calls are necessary while the system is busy. Userspace and the kernel both update ring buffers, and ring buffers can be checked and drained without entering the kernel at all.
Re:Comparison of Rust async and Linux thread context switch ... by klodolph on Friday February 12, 2021 @12:03AM (#26110915)
Yes, that’s what “if you haven’t received new events when you poll” means.