pollfs: filesystem abstraction for pollable objects
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest22 patches 48 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | pollfs: kernel-side API headerinclude/ | +57 | 0 replies | |
| 2/22 | pollfs: file system operationsfs/ fs/ fs/ +1 more | +247 | 0 replies | |
| 3/22 | pollfs: asynchronously wait for a signalinclude/ include/ kernel/ +1 more | +8 | 0 replies | |
| 4/22 | pollfs: pollable signalfs/ fs/ init/ | +153 | 0 replies | |
| 5/22 | pollfs: pollable signal compat codefs/ | +85 | 0 replies | |
| 6/22 | pollfs: export the plsignal system callinclude/ kernel/ | +3 | 0 replies | |
| 7/22 | pollfs: x86, wire up the plsignal system callarch/ include/ | +3 | 0 replies | |
| 8/22 | pollfs: x86_64, wire up the plsignal system callarch/ include/ | +5 | 0 replies | |
| 9/22 | pollfs: pollable hrtimersfs/ fs/ init/ | +206 | 2 replies | |
| 10/22 | pollfs: export the pltimer system callinclude/ kernel/ | +3 | 0 replies | |
| 11/22 | pollfs: x86, wire up the pltimer system callarch/ include/ | +3 | 0 replies | |
| 12/22 | pollfs: x86_64, wire up the pltimer system callarch/ include/ | +4 | 0 replies | |
| 13/22 | pollfs: asynchronous futex waitinclude/ kernel/ | +118 | 0 replies | |
| 14/22 | pollfs: pollable futexfs/ fs/ init/ | +162 | 39 replies | |
| 15/22 | pollfs: export the plfutex system callinclude/ kernel/ | +3 | 0 replies | |
| 16/22 | pollfs: x86, wire up the plfutex system callarch/ include/ | +3 | 0 replies | |
| 17/22 | pollfs: x86_64, wire up the plfutex system callarch/ include/ | +4 | 0 replies | |
| 18/22 | pollfs: check if a AIO event ring is emptyfs/ include/ | +18 | 0 replies | |
| 19/22 | pollfs: pollable aiofs/ fs/ init/ | +111 | 0 replies | |
| 20/22 | pollfs: export the plaio system callinclude/ kernel/ | +3 | 0 replies | |
| 21/22 | pollfs: x86, wire up the plaio system callarch/ include/ | +3 | 0 replies | |
| 22/22 | pollfs: x86_64, wire up the plaio system callarch/ include/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 00/22] pollfs: filesystem abstraction for pollable objects
This patch set introduces a new file system for the delivery of pollable events through file descriptors. To the detriment of debugability, pollable objects are a nice adjunct to nonblocking/epoll/event-based servers.
The pollfs filesystem abstraction provides better mechanisms needed for creating and maintaining pollable objects. Also the pollable futex approach is far superior (send and receive events from userspace or kernel) to eventfd and fixes (supercedes) FUTEX_FD at the same time.
The (non) blocking and object size (user <-> kernel) semantics and are handled internally, decoupling the core filesystem from the "subsystems" (mere push and pop operations).
Currently implemented waitable "objects" are: signals, futexes, ai/o blocks and timers.
More details at each patch.
http://haxent.com/~davi/pollfs/
Comments are welcome.
--
Davi Arnaut