1be7855d77
The rte_wait_until_equal_xx APIs abstract the functionality of 'polling for a memory location to become equal to a given value'. Add the RTE_ARM_USE_WFE configuration entry for aarch64, disabled by default. When it is enabled, the above APIs will call WFE instruction to save CPU cycles and power. From a VM, when calling this API on aarch64, it may trap in and out to release vCPUs whereas cause high exit latency. Since kernel 4.18.20 an adaptive trapping mechanism is introduced to balance the latency and workload. Signed-off-by: Gavin Hu <gavin.hu@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@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> Reviewed-by: Phil Yang <phil.yang@arm.com> Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Signed-off-by: David Marchand <david.marchand@redhat.com> |
||
---|---|---|
.. | ||
arm | ||
ppc_64 | ||
x86 | ||
common_armv8a_linux | ||
common_base | ||
common_freebsd | ||
common_linux | ||
defconfig_arm64-armada-linux-gcc | ||
defconfig_arm64-armada-linuxapp-gcc | ||
defconfig_arm64-armv8a-linux-clang | ||
defconfig_arm64-armv8a-linux-gcc | ||
defconfig_arm64-armv8a-linuxapp-clang | ||
defconfig_arm64-armv8a-linuxapp-gcc | ||
defconfig_arm64-bluefield-linux-gcc | ||
defconfig_arm64-bluefield-linuxapp-gcc | ||
defconfig_arm64-dpaa-linux-gcc | ||
defconfig_arm64-dpaa-linuxapp-gcc | ||
defconfig_arm64-emag-linux-gcc | ||
defconfig_arm64-emag-linuxapp-gcc | ||
defconfig_arm64-n1sdp-linux-gcc | ||
defconfig_arm64-n1sdp-linuxapp-gcc | ||
defconfig_arm64-octeontx2-linux-gcc | ||
defconfig_arm64-octeontx2-linuxapp-gcc | ||
defconfig_arm64-stingray-linux-gcc | ||
defconfig_arm64-stingray-linuxapp-gcc | ||
defconfig_arm64-thunderx2-linux-gcc | ||
defconfig_arm64-thunderx2-linuxapp-gcc | ||
defconfig_arm64-thunderx-linux-gcc | ||
defconfig_arm64-thunderx-linuxapp-gcc | ||
defconfig_arm64-xgene1-linux-gcc | ||
defconfig_arm64-xgene1-linuxapp-gcc | ||
defconfig_arm-armv7a-linux-gcc | ||
defconfig_arm-armv7a-linuxapp-gcc | ||
defconfig_i686-native-linux-gcc | ||
defconfig_i686-native-linux-icc | ||
defconfig_i686-native-linuxapp-gcc | ||
defconfig_i686-native-linuxapp-icc | ||
defconfig_ppc_64-power8-linux-gcc | ||
defconfig_ppc_64-power8-linuxapp-gcc | ||
defconfig_x86_64-native-bsdapp-clang | ||
defconfig_x86_64-native-bsdapp-gcc | ||
defconfig_x86_64-native-freebsd-clang | ||
defconfig_x86_64-native-freebsd-gcc | ||
defconfig_x86_64-native-linux-clang | ||
defconfig_x86_64-native-linux-gcc | ||
defconfig_x86_64-native-linux-icc | ||
defconfig_x86_64-native-linuxapp-clang | ||
defconfig_x86_64-native-linuxapp-gcc | ||
defconfig_x86_64-native-linuxapp-icc | ||
defconfig_x86_x32-native-linux-gcc | ||
defconfig_x86_x32-native-linuxapp-gcc | ||
meson.build | ||
rte_config.h |