diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-01-24 15:41:32 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-04-11 15:31:02 -0700 |
commit | e2f638365dd6283b7df1cb5e82f5b2746359f062 (patch) | |
tree | 0ef8c2583600ad1870fa6aea5e6c9ca49ae40358 /kernel/cpu_pm.c | |
parent | 2ec303113d978931ef368886c4c6bc854493e8bf (diff) | |
download | linux-e2f638365dd6283b7df1cb5e82f5b2746359f062.tar.gz linux-e2f638365dd6283b7df1cb5e82f5b2746359f062.tar.bz2 linux-e2f638365dd6283b7df1cb5e82f5b2746359f062.zip |
srcu: Add size-state transitioning code
This is just dead code at the moment, and will be used once
the state-transition code is activated.
Because srcu_barrier() must be aware of transition before call_srcu(), the
state machine waits for an SRCU grace period before callbacks are queued
to the non-CPU-0 queues. This requres that portions of srcu_barrier()
be enclosed in an SRCU read-side critical section.
Co-developed-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/cpu_pm.c')
0 files changed, 0 insertions, 0 deletions