diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-08-07 15:18:11 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-08-25 08:27:01 -0600 |
commit | 489b80060cf645e958c4755c4b5032f234409f85 (patch) | |
tree | 9d7557a950043d2f7d8020fa2f759e37c23c0619 /kernel/debug | |
parent | a69307a55454060b5795e68d249157f2961049c2 (diff) | |
download | linux-stable-489b80060cf645e958c4755c4b5032f234409f85.tar.gz linux-stable-489b80060cf645e958c4755c4b5032f234409f85.tar.bz2 linux-stable-489b80060cf645e958c4755c4b5032f234409f85.zip |
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>
Diffstat (limited to 'kernel/debug')
0 files changed, 0 insertions, 0 deletions