aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2025-01-08 15:27:24 -0800
committerBoqun Feng <boqun.feng@gmail.com>2025-02-05 07:12:05 -0800
commit4937096b579a36cfa5764a229d1a89542e10cf5b (patch)
tree02a5b6046e5d4f969ed7f8510b48af7e7b3bdba0 /scripts/lib/kdoc/kdoc_re.py
parentsrcu: Pull pointer-to-integer conversion into __srcu_ptr_to_ctr() (diff)
downloadwireguard-linux-4937096b579a36cfa5764a229d1a89542e10cf5b.tar.xz
wireguard-linux-4937096b579a36cfa5764a229d1a89542e10cf5b.zip
srcu: Pull integer-to-pointer conversion into __srcu_ctr_to_ptr()
This commit abstracts the srcu_read_unlock*() integer-to-pointer conversion into a new __srcu_ctr_to_ptr(). This will be used in rcutorture for testing an srcu_read_unlock_fast() that avoids array-indexing overhead by taking a pointer rather than an integer. [ paulmck: Apply kernel test robot feedback. ] 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