<snip> > > Joyce, Honnappa, > > On Tue, Nov 16, 2021 at 10:43 AM Joyce Kong <joyce.k...@arm.com> wrote: > > > > Convert rte_atomic usages to compiler atomic built-ins for lcore_state > > and collisions sync. > > > > Also, move 'main_init_workers' outside of 'timer_stress2_main_loop' to > > guarantee lcore_state initialized correctly before the threads > > launched. > > Is this "also" part actually related to the change? > Or is it a separate fix? 'Also' part is not fixing a different problem (i.e. the code earlier was not having any issues). This 'also' part just helps to keep the code simple.
> > > > > > Signed-off-by: Joyce Kong <joyce.k...@arm.com> > > Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com> > > > > -- > David Marchand