Messages in this thread | | | Date | Wed, 20 Jul 2022 13:45:31 -0400 | From | Steven Rostedt <> | Subject | Re: [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
| |