]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Add RCU-preempt check for waiting on newly onlined CPU
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 3 May 2018 17:35:33 +0000 (10:35 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:39:05 +0000 (15:39 -0700)
commitc2051d10985c1169af4c69549cc9af8affbfb139
tree5a8524d4be9f45b9848d62bf985b0c43ac894d04
parent73b58ce13b24da35d609417c1c1a55eb8e966f24
rcu: Add RCU-preempt check for waiting on newly onlined CPU

RCU should only be waiting on CPUs that were online at the time that the
current grace period started.  Failure to abide by this rule can result
in confusing splats during grace-period cleanup and initialization.
This commit therefore adds a check to RCU-preempt's preempted-task
queuing that checks for waiting on newly onlined CPUs.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree_plugin.h