Re: [PATCH v5 1/2] io_uring: minor io_cqring_wait() optimization

From: Jens Axboe
Date: Tue Mar 08 2022 - 20:11:10 EST


On 3/8/22 3:17 PM, Olivier Langlois wrote:
> 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

I don't think this is worthwhile doing. If you're hitting an error
in any of them, it's by definition not the fast path.

--
Jens Axboe