diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2025-01-17 20:14:18 +0300 |
---|---|---|
committer | Boqun Feng <boqun.feng@gmail.com> | 2025-02-05 18:12:06 +0300 |
commit | 729fb74889d94e6051d6ef2b21c769fe7e54f176 (patch) | |
tree | 4b9445c1335258b4789c030354449ab1c4d04221 /rust/helpers/helpers.c | |
parent | dfe442c943b7ab86f3eb2228e32179bda1402e96 (diff) | |
download | linux-729fb74889d94e6051d6ef2b21c769fe7e54f176.tar.xz |
srcu: Document that srcu_{read_lock,down_read}() can share srcu_struct
This commit adds a sentence to the srcu_down_read() function's kernel-doc
header noting that it is permissible to use srcu_down_read() and
srcu_read_lock() on the same srcu_struct, even concurrently.
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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions