diff options
| author | Paul E. McKenney <[email protected]> | 2025-01-08 23:27:24 +0000 |
|---|---|---|
| committer | Boqun Feng <[email protected]> | 2025-02-05 15:12:05 +0000 |
| commit | 4937096b579a36cfa5764a229d1a89542e10cf5b (patch) | |
| tree | 02a5b6046e5d4f969ed7f8510b48af7e7b3bdba0 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | srcu: Pull pointer-to-integer conversion into __srcu_ptr_to_ctr() (diff) | |
| download | kernel-4937096b579a36cfa5764a229d1a89542e10cf5b.tar.gz kernel-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 <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Andrii Nakryiko <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Kent Overstreet <[email protected]>
Cc: <[email protected]>
Signed-off-by: Boqun Feng <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
