]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5ce1f7f71c24c01aa058cca77d61f56185f4af4
treef01382c4665ad9276dd632b69a8ca9429f26f979
parentd690b8057b70c2859793db63e301a3a25354156c
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