aboutsummaryrefslogtreecommitdiff
path: root/fs/internal.h
diff options
context:
space:
mode:
authorOlivier Langlois <olivier@trillion01.com>2022-03-08 17:17:21 -0500
committerJens Axboe <axboe@kernel.dk>2022-03-10 09:18:30 -0700
commit950e79dd73131a263b2dd7fec521ceafd28d2724 (patch)
tree780fbac4afd60c4c2986fcd3aed8718fe24333dc /fs/internal.h
parent4f57f06ce2186c31c3da52386125dc57b1cd6f96 (diff)
io_uring: minor io_cqring_wait() optimization
Move up the block manipulating the sig variable to execute code that may encounter an error and exit first before continuing executing the rest of the function and avoid useless computations Signed-off-by: Olivier Langlois <olivier@trillion01.com> Link: https://lore.kernel.org/r/84513f7cc1b1fb31d8f4cb910aee033391d036b4.1646777484.git.olivier@trillion01.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions