Loadlinked
Loadlinked (LL) is a memory-access instruction used in several RISC architectures as part of the load-linked/store-conditional (LL/SC) synchronization mechanism. An LL reads a value from a memory address and establishes a reservation on that address, intending that a subsequent store to the same address will be permitted only if the reservation remains valid.
The corresponding store-conditional (SC) attempts to write the new value to the address but will only succeed
Usage: LL/SC is used to implement atomic read-modify-write operations such as atomic increments, test-and-set, and compare-and-swap-like
Architecture examples: MIPS uses ll and sc; ARM uses LDREX and STREX (together forming LL/SC semantics in
Limitations and notes: The reservation may be cleared by any intervening write to the address, by cache-coherence