> -----Original Message-----
> From: Phil Yang <[email protected]>
> Sent: Thursday, July 2, 2020 12:27 AM
> To: Carrillo, Erik G <[email protected]>; [email protected]
> Cc: [email protected]; [email protected];
> [email protected]; [email protected];
> [email protected]; [email protected]
> Subject: [PATCH v2 4/4] eventdev: relax smp barriers with c11 atomics
> 
> The implementation-specific opaque data is shared between arm and cancel
> operations. The state flag acts as a guard variable to make sure the update of
> opaque data is synchronized. This patch uses c11 atomics with explicit one
> way memory barrier instead of full barriers rte_smp_w/rmb() to synchronize
> the opaque data between timer arm and cancel threads.
> 
> Signed-off-by: Phil Yang <[email protected]>
> Reviewed-by: Dharmik Thakkar <[email protected]>
> Reviewed-by: Ruifeng Wang <[email protected]>
Acked-by: Erik Gabriel Carrillo <[email protected]>

Reply via email to