Re: [PATCH V6 02/16] rv: Add runtime reactors interface

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

 



On Wed, 20 Jul 2022 19:37:58 +0200
Daniel Bristot de Oliveira <bristot@xxxxxxxxxx> wrote:

> > That has logic that looks to require a lock to protect things from changing
> > from underneath.  
> 
> ack, so the only variable I see we can use READ_ONCE/WRITE_ONCE is the reacting_on...

WRITE_ONCE() does not supply memory barriers, which you may need.

I'm only at patch 3, I'm not sure what the full requirements of that is.

-- Steve



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux