aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2013-05-31 16:30:58 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2013-06-07 17:58:31 +0100
commit4ecf7ccb1973fd826456b6ab1e6dfafe9023c753 (patch)
tree318c48fdfa422908da871d25d2e47903321aabe3 /security
parentarm64: Remove __flush_dcache_page() (diff)
downloadlinux-dev-4ecf7ccb1973fd826456b6ab1e6dfafe9023c753.tar.xz
linux-dev-4ecf7ccb1973fd826456b6ab1e6dfafe9023c753.zip
arm64: spinlock: retry trylock operation if strex fails on free lock
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions