summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSohil Mehta <[email protected]>2021-05-25 16:57:40 -0700
committerSohil Mehta <[email protected]>2021-09-12 19:22:18 -0700
commit34777dfbdf50046a33d6426f454eeedcc88d33fd (patch)
tree9ce5db98583d741418f14e60d01d0e5182761aa4 /include
parent1b1294ead936c822ae184c7857f1818a300b8f24 (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 'include')
0 files changed, 0 insertions, 0 deletions