[dpdk-dev] [PATCH v2 0/2] Use WFE for spinlock and ring
Ananyev, Konstantin
konstantin.ananyev at intel.com
Fri May 1 11:47:59 CEST 2020
>
> The rte_wait_until_equal_xxx APIs abstract the functionality of 'polling
> for a memory location to become equal to a given value'[1].
>
> Use the API for the rte spinlock and ring implementations.
>
> [1] http://patches.dpdk.org/cover/62703/
>
> Gavin Hu (2):
> spinlock: use wfe to reduce contention on aarch64
> ring: use wfe to wait for ring tail update on aarch64
>
> lib/librte_eal/include/generic/rte_spinlock.h | 4 ++--
> lib/librte_ring/rte_ring_c11_mem.h | 4 ++--
> lib/librte_ring/rte_ring_generic.h | 3 +--
> 3 files changed, 5 insertions(+), 6 deletions(-)
>
Series Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> --
> 2.17.1
More information about the dev
mailing list