numam-dpdk/lib/eal/include/generic
Gavin Hu fa6b488998 spinlock: use WFE to reduce contention on aarch64
In acquiring a spinlock, cores repeatedly poll the lock variable.
This is replaced by rte_wait_until_equal API.

Running micro benchmarking and testpmd and l3fwd traffic tests
on ThunderX2, Ampere eMAG80 and Arm N1SDP, everything went well
and no notable performance gain nor degradation was measured.

Signed-off-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Steve Capper <steve.capper@arm.com>
Reviewed-by: Ola Liljedahl <ola.liljedahl@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Tested-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
2021-07-09 21:33:01 +02:00
..
rte_atomic.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_byteorder.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_cpuflags.h eal: add power monitor for multiple events 2021-07-09 21:13:13 +02:00
rte_cycles.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_io.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_mcslock.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_memcpy.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_pause.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_pflock.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_power_intrinsics.h eal: add power monitor for multiple events 2021-07-09 21:13:13 +02:00
rte_prefetch.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_rwlock.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_spinlock.h spinlock: use WFE to reduce contention on aarch64 2021-07-09 21:33:01 +02:00
rte_ticketlock.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_vect.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00