Re: [PATCH] io_uring: replace smp_mb() with smp_mb__after_atomic() in io_sq_thread()

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

 



On Tue, 26 Apr 2022 19:34:03 +0300, Almog Khaikin wrote:
> The IORING_SQ_NEED_WAKEUP flag is now set using atomic_or() which
> implies a full barrier on some architectures but it is not required to
> do so. Use the more appropriate smp_mb__after_atomic() which avoids the
> extra barrier on those architectures.
> 
> 

Applied, thanks!

[1/1] io_uring: replace smp_mb() with smp_mb__after_atomic() in io_sq_thread()
      commit: 012b7e911e69791ea518ef3d084c12cb2b8f2914

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