diff options
author | 2024-12-19 16:32:12 -0800 | |
---|---|---|
committer | 2025-02-05 07:12:05 -0800 | |
commit | 821ca6fa15d864951da89233da8fd89e932d5215 (patch) | |
tree | 573d4459016c65cc1753a810a78128fa7447cdb7 /include/linux | |
parent | srcu: Make SRCU readers use ->srcu_ctrs for counter selection (diff) | |
download | wireguard-linux-821ca6fa15d864951da89233da8fd89e932d5215.tar.xz wireguard-linux-821ca6fa15d864951da89233da8fd89e932d5215.zip |
srcu: Make Tree SRCU updates independent of ->srcu_idx
This commit makes Tree SRCU updates independent of ->srcu_idx, then
drop ->srcu_idx.
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 'include/linux')
-rw-r--r-- | include/linux/srcutree.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/srcutree.h b/include/linux/srcutree.h index 1b01ced61a45..6b7eba59f384 100644 --- a/include/linux/srcutree.h +++ b/include/linux/srcutree.h @@ -100,7 +100,6 @@ struct srcu_usage { * Per-SRCU-domain structure, similar in function to rcu_state. */ struct srcu_struct { - unsigned int srcu_idx; /* Current rdr array element. */ struct srcu_ctr __percpu *srcu_ctrp; struct srcu_data __percpu *sda; /* Per-CPU srcu_data array. */ struct lockdep_map dep_map; |