mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
4ecf7ccb19
An exclusive store instruction may fail for reasons other than lock contention (e.g. a cache eviction during the critical section) so, in line with other architectures using similar exclusive instructions (alpha, mips, powerpc), retry the trylock operation if the lock appears to be free but the strex reported failure. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Reported-by: Tony Thompson <anthony.thompson@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> |
||
---|---|---|
.. | ||
asm | ||
uapi/asm |