OSDN Git Service

rcu-tasks: Handle the running-offline idle-task special case
authorPaul E. McKenney <paulmck@kernel.org>
Sun, 22 Mar 2020 18:24:58 +0000 (11:24 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 27 Apr 2020 18:03:52 +0000 (11:03 -0700)
commit7e3b70e0703b48e120c3f5e65498790341120fad
tree897eb813b6cf68f8aadfdba741f6ecffcaab393b
parent81b4a7bc3b54b0b839dbf3d2b8c9a353ae910688
rcu-tasks: Handle the running-offline idle-task special case

The idle task corresponding to an offline CPU can appear to be running
while that CPU is offline.  This commit therefore adds checks for this
situation, treating it as a quiescent state.  Because the tasklist scan
and the holdout-list scan now exclude CPU-hotplug operations, readers
on the CPU-hotplug paths are still waited for.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tasks.h