aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/mod
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@stgolabs.net>2021-09-19 22:20:30 -0700
committerPeter Zijlstra <peterz@infradead.org>2021-10-07 13:51:07 +0200
commitc78416d122243c92992a1d1063f17ddd0bc80e6c (patch)
tree91ddd15c967aec7d0f1631b65b9ca8a696feb570 /scripts/mod
parentMerge branch 'tip/locking/urgent' (diff)
downloadwireguard-linux-c78416d122243c92992a1d1063f17ddd0bc80e6c.tar.xz
wireguard-linux-c78416d122243c92992a1d1063f17ddd0bc80e6c.zip
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 <dbueso@suse.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Waiman Long <longman@redhat.com> Link: https://lkml.kernel.org/r/20210920052031.54220-2-dave@stgolabs.net
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions