diff options
author | Davidlohr Bueso <[email protected]> | 2021-09-19 22:20:30 -0700 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-10-07 13:51:07 +0200 |
commit | c78416d122243c92992a1d1063f17ddd0bc80e6c (patch) | |
tree | 91ddd15c967aec7d0f1631b65b9ca8a696feb570 /scripts/patch-kernel | |
parent | 3f48565beb7219bbe8332391fc4ca758054b00c5 (diff) |
locking/rwbase: Optimize rwbase_read_trylock
Instead of a full barrier around the Rmw insn, micro-optimize
for weakly ordered archs such that we only provide the required
ACQUIRE semantics when taking the read lock.
Signed-off-by: Davidlohr Bueso <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Waiman Long <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions