Re: [PATCH v3 RESEND] io_uring: do the sqpoll napi busy poll outside the submission block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 16 Sep 2024 15:17:56 -0400, Olivier Langlois wrote:
> there are many small reasons justifying this change.
> 
> 1. busy poll must be performed even on rings that have no iopoll and no
>    new sqe. It is quite possible that a ring configured for inbound
>    traffic with multishot be several hours without receiving new request
>    submissions
> 2. NAPI busy poll does not perform any credential validation
> 3. If the thread is awaken by task work, processing the task work is
>    prioritary over NAPI busy loop. This is why a second loop has been
>    created after the io_sq_tw() call instead of doing the busy loop in
>    __io_sq_thread() outside its credential acquisition block.
> 
> [...]

Applied, thanks!

[1/1] io_uring: do the sqpoll napi busy poll outside the submission block
      commit: 53d69bdd5b19bb17602cb224e01aeed730ff3289

Best regards,
-- 
Jens Axboe







[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux