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

Jens Axboe
2022-03-09T01:10:57Z

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