rcu: Clarify and correct the rcu_preempt_qs() header comment
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 17 May 2018 01:00:17 +0000 (18:00 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:39:16 +0000 (15:39 -0700)
commitc7037ff5249cee237b8c8a6f99998ae4f3916b60
tree91011ef383bcb9b58d5d1b9522a7117ce48d3023
parent3b57a3994f330a102b91bd70c84c9530c0ae50f6
rcu: Clarify and correct the rcu_preempt_qs() header comment

The rcu_preempt_qs() function only applies to the CPU, not the task.
A task really is allowed to invoke this function while in an RCU-preempt
read-side critical section, but only if it has first added itself to
some leaf rcu_node structure's ->blkd_tasks list.

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