On 7/7/20 7:36 AM, Pavel Begunkov wrote: > [1,2] are small preps for the future that should change > nothing functionally. > > [3] helps to reduce CPU usage on exit. We don't care about latency > and CQEs when io_uring is going away, so checking it every HZ/20 > should be enough > Please, check the assumptions, because I hope that nobody expects > ->iopoll() to do real work but not just completing. I think it's fine to do it in 1/20th second intervals, if you exit with pending poll requests. Hence it looks good to me, I've applied it. -- Jens Axboe