lkml.org 
[lkml]   [2022]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V6 02/16] rv: Add runtime reactors interface
On Wed, 20 Jul 2022 19:37:58 +0200
Daniel Bristot de Oliveira <bristot@kernel.org> 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

\
 
 \ /
  Last update: 2022-07-20 19:46    [W:0.050 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site