diff options
author | 2025-01-08 06:48:15 -0800 | |
---|---|---|
committer | 2025-02-05 07:12:05 -0800 | |
commit | 4d86b1e7e1e98eb1f0e3c5a4635a5c37cbd22919 (patch) | |
tree | 6168181a0fbdc8c7e906975d6d2e88ac06600b15 /scripts/lib/kdoc/kdoc_re.py | |
parent | srcu: Rename srcu_check_read_flavor_lite() to srcu_check_read_flavor_force() (diff) | |
download | wireguard-linux-4d86b1e7e1e98eb1f0e3c5a4635a5c37cbd22919.tar.xz wireguard-linux-4d86b1e7e1e98eb1f0e3c5a4635a5c37cbd22919.zip |
srcu: Add SRCU_READ_FLAVOR_SLOWGP to flag need for synchronize_rcu()
This commit switches from a direct test of SRCU_READ_FLAVOR_LITE to a new
SRCU_READ_FLAVOR_SLOWGP macro to check for substituting synchronize_rcu()
for smp_mb() in SRCU grace periods. Right now, SRCU_READ_FLAVOR_SLOWGP
is exactly SRCU_READ_FLAVOR_LITE, but the addition of the _fast() flavor
of SRCU will change that.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: <bpf@vger.kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions