t/io_uring: only load tail once per reap loop
authorJens Axboe <axboe@kernel.dk>
Mon, 30 Sep 2024 15:21:17 +0000 (09:21 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 30 Sep 2024 15:21:17 +0000 (09:21 -0600)
commitb46877edc9a94009ebbb33a461b21dad9bd40964
treec612cedd890a705624083d27b6d69d7c2965bdd5
parentfef1936ee2be62bdfedffef472a124fded94633e
t/io_uring: only load tail once per reap loop

It'll never change with the settings that t/io_uring uses to setup the
ring - and even if it could, it's still cheaper to just read the tail
once per reap.

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