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>
Wed, 22 Jun 2022 17:30:57 +0000 (11:30 -0600)
commit607556b847ae3d9e3f207d7e9790be54d8188e14
treea25c80c4130141f0dbcc2de8cb510c4ebbd440ae
parent532a87ea66ebcf05e4125069c4cecad47b7cbd9b
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