Get the latest tech news

User-Space Interrupts (2021)


interrupts At its core, Mehta began, the user-space interrupts (or simply "user interrupts") feature is a fast way to do event signaling. It delivers signals directly to user space, bypassing the kernel to achieve lower latency.

Actual delivery of the interrupt depends on what the receiver is doing at the time; if that process is running in user space, the handler function will be called immediately with the appropriate vector number. There is a uintr_wait() system call in the patch set that will block until a user-space interrupt arrives then return immediately, but it is described as a "placeholder" until the desired behavior for this case is worked out. Should the behavior be changed to be closer to signals, with the interrupt delivered immediately and the system call returning with an EINTR status?

Get the Android app

Or read this on Hacker News