diff options
| author | Paul E. McKenney <[email protected]> | 2025-01-08 22:31:27 +0000 |
|---|---|---|
| committer | Boqun Feng <[email protected]> | 2025-02-05 15:12:05 +0000 |
| commit | f4bde41dd19db5e2ea9e0b4a19ac2573f7244d03 (patch) | |
| tree | 423d501912f23c9be906aa291319a55befd5c0ad /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | srcu: Add SRCU_READ_FLAVOR_SLOWGP to flag need for synchronize_rcu() (diff) | |
| download | kernel-f4bde41dd19db5e2ea9e0b4a19ac2573f7244d03.tar.gz kernel-f4bde41dd19db5e2ea9e0b4a19ac2573f7244d03.zip | |
srcu: Pull pointer-to-integer conversion into __srcu_ptr_to_ctr()
This commit abstracts the srcu_read_lock*() pointer-to-integer conversion
into a new __srcu_ptr_to_ctr(). This will be used in rcutorture for
testing an srcu_read_lock_fast() that returns a pointer rather than
an integer.
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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
