rcu-tasks: Idle tasks on offline CPUs are in quiescent states
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 24 May 2022 23:59:52 +0000 (16:59 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 20 Jun 2022 16:22:27 +0000 (09:22 -0700)
commit5c9a9ca44fda41c5e82f50efced5297a9c19760d
tree0bf2281afda10c0aa1869d10dcbcecbbdf85851e
parent9ff86b4c443cc93bf3a9b624e3385e4114388e85
rcu-tasks: Idle tasks on offline CPUs are in quiescent states

Any idle task corresponding to an offline CPU is in an RCU Tasks Trace
quiescent state.  This commit causes rcu_tasks_trace_postscan() to ignore
idle tasks for offline CPUs, which it can do safely due to CPU-hotplug
operations being disabled.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Martin KaFai Lau <kafai@fb.com>
Cc: KP Singh <kpsingh@kernel.org>
kernel/rcu/tasks.h