]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: ensure io_queue_deferred() is out-of-line
authorJens Axboe <axboe@kernel.dk>
Tue, 31 Dec 2024 00:34:41 +0000 (17:34 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 31 Dec 2024 00:36:20 +0000 (17:36 -0700)
commitd62c2f0d82753a05133411b1e242baf31f4ef68e
tree32817df36c62185ecd0163dd3cd3ad30fa706220
parentc5f71916146033f9aba108075ff7087022075fd6
io_uring: ensure io_queue_deferred() is out-of-line

This is not the hot path, it's a slow path. Yet the locking for it is
in the hot path, and __cold does not prevent it from being inlined.

Move the locking to the function itself, and mark it noinline as well
to avoid it polluting the icache of the hot path.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c