> -----Original Message-----
> From: Honnappa Nagarahalli <[email protected]>
> Sent: Saturday, May 2, 2020 1:03 AM
> To: [email protected]; [email protected]; Van Haaren, Harry
> <[email protected]>
> Cc: [email protected]; [email protected]; Ananyev, Konstantin
> <[email protected]>; [email protected];
> [email protected]; Eads, Gage <[email protected]>; Richardson,
> Bruce <[email protected]>; [email protected];
> [email protected]
> Subject: [PATCH v3 6/6] service: relax barriers with C11 atomics
> 
> From: Phil Yang <[email protected]>
> 
> The runstate, comp_runstate and app_runstate are used as guard variables
> in the service core lib. To guarantee the inter-threads visibility of
> these guard variables, it uses rte_smp_r/wmb. This patch use c11 atomic
> built-ins to relax these barriers.
> 
> Signed-off-by: Phil Yang <[email protected]>
> Reviewed-by: Honnappa Nagarahalli <[email protected]>

Acked-by: Harry van Haaren <[email protected]>

<snip diff>

Reply via email to