> -Original Message-
> From: Honnappa Nagarahalli
> Sent: Wednesday, May 6, 2020 5:18 AM
> To: dev@dpdk.org; Phil Yang ;
> harry.van.haa...@intel.com
> Cc: tho...@monjalon.net; david.march...@redhat.com;
> konstantin.anan...@intel.com; jer...@marvell.com;
> hemant.agra...@nxp.com; gage.e..
From: Phil Yang
The num_mapped_cores is used as a statistics. Use c11 atomics with
RELAXED ordering for num_mapped_cores instead of rte_atomic ops which
enforce unnessary barriers on aarch64.
Replace execute_lock operations to spinlock_try_lock to avoid duplicate
code.
Signed-off-by: Phil Yang
2 matches
Mail list logo