[PATCH v4 2/8] eal: fixes for re-initialization issues
Sinan Kaya
okaya at kernel.org
Tue Aug 15 20:35:23 CEST 2023
On Tue, 2023-08-15 at 10:49 -0700, Stephen Hemminger wrote:
> >
> > + __atomic_store_n(&run_once, 0, __ATOMIC_RELAXED);
> > return 0;
>
>
> Interesting, other flags don't use atomic. Why here?
>
>
>
> And is already set elsewhere?
Looking at the history, this variable used to be an atomic
variable. Later, it got replaced with a uint32_t and write
is done with __atomic_store_n instead. I followed other
examples in the same source code file.
More information about the dev
mailing list