diff options
| author | Paul E. McKenney <paulmck@kernel.org> | 2026-08-18 11:41:01 -0700 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2026-10-01 17:18:24 -0700 |
| commit | ee6bd18ef1673f526e795b368603f692576bb148 (patch) | |
| tree | 3f3e69c507f14e450c89c02430d39b2cee2f94c5 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 21345a8eff2bf1e12a5defdd12fcf364b29791a9 (diff) | |
srcutree: Suppress to-big transition for atomic SRCU
Initially (and perhaps forever), call_srcu() will not be available for
atomic srcu_struct structures. There is therefore no reason to transition
such a structure to big, because the main purpose of such a transition
is to reduce lock contention for concurrent SRCU callback queueing.
This commit therefore adds an is_atomic parameter to both the
check_init_srcu_struct() and init_srcu_struct_fields() functions, which
suppresses the initialization-time transition to big that is enabled by
default on large systems.
It will still be possible to force a transition using rcutorture as a
destructive test. This might (or might not) be adjusted later.
[ paulmck: Apply feedback from Kunwu Chan. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
