diff options
| author | Sohil Mehta <[email protected]> | 2021-05-25 16:57:40 -0700 |
|---|---|---|
| committer | Sohil Mehta <[email protected]> | 2021-09-12 19:22:18 -0700 |
| commit | 34777dfbdf50046a33d6426f454eeedcc88d33fd (patch) | |
| tree | 9ce5db98583d741418f14e60d01d0e5182761aa4 /kernel | |
| parent | 1b1294ead936c822ae184c7857f1818a300b8f24 (diff) | |
x86/uintr: Introduce uintr_wait() syscall
Add a new system call to allow applications to block in the kernel and
wait for user interrupts.
<The current implementation doesn't support waking up from other
blocking system calls like sleep(), read(), epoll(), etc.
uintr_wait() is a placeholder syscall while we decide on that
behaviour.>
When the application makes this syscall the notification vector is
switched to a new kernel vector. Any new SENDUIPI will invoke the kernel
interrupt which is then used to wake up the process.
Currently, the task wait list is global one. To make the implementation
scalable there is a need to move to a distributed per-cpu wait list.
Signed-off-by: Sohil Mehta <[email protected]>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
