[PATCH 0/2] arm64: atomics: improvements
Mark Rutland
mark.rutland at arm.com
Wed Aug 17 08:59:12 PDT 2022
These two patches improve arm64's atomics:
* The first patch ensures that the LL/SC atomics can be correctly
unwound when backtracing, avoiding issues similar to those seen with
out-of-line uaccess fixups.
* The second patch ensures the LSE and LL/SC atomic implementations are
never unintentially instrumented. This is necessary such that they can
be safely used within noinstr code.
Aside from the improved robustness and ease of debug, there should be no
functional change as a result of this patch.
Thanks,
Mark.
Mark Rutland (2):
arm64: atomics: remove LL/SC trampolines
arm64: atomic: always inline the assembly
arch/arm64/include/asm/atomic_ll_sc.h | 58 +++++++++------------------
arch/arm64/include/asm/atomic_lse.h | 46 +++++++++++++--------
2 files changed, 47 insertions(+), 57 deletions(-)
--
2.30.2
More information about the linux-arm-kernel
mailing list