Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ce20aa6a authored by Trilok Soni's avatar Trilok Soni
Browse files

arm64: rwlocks: retry trylock operation if strex fails on free lock



Commit 4ecf7ccb1 (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: default avatarTrilok Soni <tsoni@codeaurora.org>
parent c5564588
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment