io_uring: add abstraction around apoll cache
authorJens Axboe <axboe@kernel.dk>
Thu, 7 Jul 2022 20:16:20 +0000 (14:16 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:47:08 +0000 (08:47 -0600)
commit5bab264c2dce715486518f83f370dd0342377f4a
treef998e907e515efce08cf532d26e2449bd130d3ff
parent14d6c4539caf1e039df556df18e780da8314e168
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>
include/linux/io_uring_types.h
io_uring/alloc_cache.h [new file with mode: 0644]
io_uring/io_uring.c
io_uring/poll.c
io_uring/poll.h