]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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>
Tue, 29 Oct 2024 19:43:27 +0000 (13:43 -0600)
commit9b296c625ac1d2ca9b129743c3f886bf7a0f471d
treebcdddf8a0e240f47fe1db370933cd2715ffe2783
parent1e6e7602cc9fdeaf7e2593755409e8d50545ed69
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