# Linux Kernel Module Cheat

#### 30.7.2. ARM Large System Extensions (LSE)

Set of atomic and synchronization primitives added in ARMv8.1 architecture extension.

Documented at ARMv8 architecture reference manual db "ARMv8.1-LSE, ARMv8.1 Large System Extensions"

- LDADD: userland/cpp/atomic/aarch64_ldadd.cpp, see also: atomic.cpp. Kernel inspiration: https://github.com/torvalds/linux/blob/v5.4/arch/arm64/include/asm/atomic_lse.h#L56

Bibliography:

- https://preshing.com/20120710/memory-barriers-are-like-source-control-operations/