Thread (2 messages) 2 messages, 2 authors, 2021-10-17

Re: [PATCH v1] fs/io_uring: Prioritise checking faster conditions first in io_write

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-10-17 14:23:48
Also in: lkml

On Sat, 16 Oct 2021 20:32:29 -0500, Noah Goldstein wrote:
This commit reorders the conditions in a branch in io_write. The
reorder to check 'ret2 == -EAGAIN' first as checking
'(req->ctx->flags & IORING_SETUP_IOPOLL)' will likely be more
expensive due to 2x memory derefences.
Applied, thanks!

[1/1] fs/io_uring: Prioritise checking faster conditions first in io_write
      commit: 02a8286be94bb1fce86afa6b487717eb4ca2956e

Best regards,
-- 
Jens Axboe

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help