arm64: rwlocks: retry trylock operation if strex fails on free lock
Commit 4ecf7ccb (arm64: spinlock: retry trylock operation if strex fails on free lock) modified our arch_spin_trylock to retry the acquisition if the lock appeared uncontended, but strex failed. This could happen due to cache eviction too. This patch does the same for rwlocks which seems to be missed in the earlier patch. Change-Id: Ie4db7dacd4352244a0308a2d3d7b7f927a2ef581 Signed-off-by:Trilok Soni <tsoni@codeaurora.org>
Loading
Please sign in to comment