]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/napi: refactor __io_napi_busy_loop()
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 7 Aug 2024 14:18:11 +0000 (15:18 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 25 Aug 2024 14:27:01 +0000 (08:27 -0600)
commit489b80060cf645e958c4755c4b5032f234409f85
tree9d7557a950043d2f7d8020fa2f759e37c23c0619
parenta69307a55454060b5795e68d249157f2961049c2
io_uring/napi: refactor __io_napi_busy_loop()

we don't need to set ->napi_prefer_busy_poll if we're not going to poll,
do the checks first and all polling preparation after.

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