io_uring: add abstraction around apoll cache
In preparation for adding limits, and one more user, abstract out the
core bits of the allocation+free cache.
Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- include/linux/io_uring_types.h 5 additions, 1 deletioninclude/linux/io_uring_types.h
- io_uring/alloc_cache.h 41 additions, 0 deletionsio_uring/alloc_cache.h
- io_uring/io_uring.c 4 additions, 4 deletionsio_uring/io_uring.c
- io_uring/poll.c 5 additions, 13 deletionsio_uring/poll.c
- io_uring/poll.h 7 additions, 2 deletionsio_uring/poll.h
Please register or sign in to comment