io_uring: static_key for !IORING_SETUP_NO_SQARRAY
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 18 Oct 2024 16:07:59 +0000 (17:07 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Oct 2024 18:36:58 +0000 (12:36 -0600)
commit9812732ce65b9690720f772c07afadf38dd7d8ef
tree22ed832aa432f4d4a21d27597fe1e1b2bb2d5b39
parentcb943835067450aebf6f1171e81ea5958ce34b03
io_uring: static_key for !IORING_SETUP_NO_SQARRAY

IORING_SETUP_NO_SQARRAY should be preferred and used by default by
liburing, optimise flag checking in io_get_sqe() with a static key.

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