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>
Thu, 21 Jul 2022 14:44:04 +0000 (08:44 -0600)
commitcd784f262e3a5495b89a4e265d0feec39789dc9f
tree5466fa0be42a792344667e9b4e733fdc89c2f62f
parent41b3a2aeabf2ba39ba89f92cf7c487edcf53906e
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