io_uring: inline ->registered_rings
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 15 Jun 2022 16:33:53 +0000 (17:33 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:13 +0000 (18:39 -0600)
commit6a02e4be8187588ac476136496af9e3feeeb9a75
tree306c269202b6f6c9f529da048387241b6c0d00b9
parent48c13d8980840e489a537e4af4b2503eb9d8a1ec
io_uring: inline ->registered_rings

There can be only 16 registered rings, no need to allocate an array for
them separately but store it in tctx.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/495f0b953c87994dd9e13de2134019054fa5830d.1655310733.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/tctx.c
io_uring/tctx.h