Re: [PATCH] io_uring: calculate CQEs from the user visible value

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

 



On Tue, 8 Nov 2022 07:30:16 -0800, Dylan Yudaken wrote:
> io_cqring_wait (and it's wake function io_has_work) used cached_cq_tail in
> order to calculate the number of CQEs. cached_cq_tail is set strictly
> before the user visible rings->cq.tail
> 
> However as far as userspace is concerned,  if io_uring_enter(2) is called
> with a minimum number of events, they will verify by checking
> rings->cq.tail.
> 
> [...]

Applied, thanks!

[1/1] io_uring: calculate CQEs from the user visible value
      commit: 0fc8c2acbfc789a977a50a4a9812a8e4b37958ce

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