Analyse et explore linux
Component SWP_EMULATION

Component Type: kbuild config

Description: Emulate SWP/SWPB instructions

More info: ARMv8 obsoletes the use of A32 SWP/SWPB instructions such that they are always undefined. Say Y here to enable software emulation of these instructions for userspace using LDXR/STXR. This feature can be controlled at runtime with the abi.swp sysctl which is disabled by default. In some older versions of glibc [<=2.8] SWP is used during futex trylock() operations with the assumption that the code will not be preempted. This invalid assumption may be more likely to fail with SWP emulation enabled, leading to deadlock of the user application. NOTE: when accessing uncached shared regions, LDXR/STXR rely on an external transaction monitoring block called a global monitor to maintain update atomicity. If your system does not implement a global monitor, this option can cause programs that perform SWP operations to uncached memory to deadlock. If unsure, say Y

Build project: Kconfig (Linux kconfig) (Path: arch\arm64\Kconfig )

Other views: file explorer

Generated by PFA software prototype