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>
Mon, 25 Jul 2022 00:39:17 +0000 (18:39 -0600)
commit9b797a37c4bd83b03cedcfbd15852b836f5e562c
treef01382c4665ad9276dd632b69a8ca9429f26f979
parent9da7471ed10dab52410062be74896a6c0aa1bf3a
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