rcu-tasks: Update comments to cond_resched_tasks_rcu_qs()
The cond_resched_rcu_qs() function no longer exists, despite being mentioned several times in kernel/rcu/tasks.h. This commit therefore updates it to the current cond_resched_tasks_rcu_qs(). Reported-by: Neeraj Upadhyay <neeraju@codeaurora.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
46aa886c48
commit
8af9e2c782
|
@ -368,7 +368,7 @@ static void rcu_tasks_wait_gp(struct rcu_tasks *rtp)
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// Simple variant of RCU whose quiescent states are voluntary context
|
// Simple variant of RCU whose quiescent states are voluntary context
|
||||||
// switch, cond_resched_rcu_qs(), user-space execution, and idle.
|
// switch, cond_resched_tasks_rcu_qs(), user-space execution, and idle.
|
||||||
// As such, grace periods can take one good long time. There are no
|
// As such, grace periods can take one good long time. There are no
|
||||||
// read-side primitives similar to rcu_read_lock() and rcu_read_unlock()
|
// read-side primitives similar to rcu_read_lock() and rcu_read_unlock()
|
||||||
// because this implementation is intended to get the system into a safe
|
// because this implementation is intended to get the system into a safe
|
||||||
|
@ -539,7 +539,7 @@ DEFINE_RCU_TASKS(rcu_tasks, rcu_tasks_wait_gp, call_rcu_tasks, "RCU Tasks");
|
||||||
* period elapses, in other words after all currently executing RCU
|
* period elapses, in other words after all currently executing RCU
|
||||||
* read-side critical sections have completed. call_rcu_tasks() assumes
|
* read-side critical sections have completed. call_rcu_tasks() assumes
|
||||||
* that the read-side critical sections end at a voluntary context
|
* that the read-side critical sections end at a voluntary context
|
||||||
* switch (not a preemption!), cond_resched_rcu_qs(), entry into idle,
|
* switch (not a preemption!), cond_resched_tasks_rcu_qs(), entry into idle,
|
||||||
* or transition to usermode execution. As such, there are no read-side
|
* or transition to usermode execution. As such, there are no read-side
|
||||||
* primitives analogous to rcu_read_lock() and rcu_read_unlock() because
|
* primitives analogous to rcu_read_lock() and rcu_read_unlock() because
|
||||||
* this primitive is intended to determine that all tasks have passed
|
* this primitive is intended to determine that all tasks have passed
|
||||||
|
@ -677,7 +677,7 @@ DEFINE_RCU_TASKS(rcu_tasks_rude, rcu_tasks_rude_wait_gp, call_rcu_tasks_rude,
|
||||||
* period elapses, in other words after all currently executing RCU
|
* period elapses, in other words after all currently executing RCU
|
||||||
* read-side critical sections have completed. call_rcu_tasks_rude()
|
* read-side critical sections have completed. call_rcu_tasks_rude()
|
||||||
* assumes that the read-side critical sections end at context switch,
|
* assumes that the read-side critical sections end at context switch,
|
||||||
* cond_resched_rcu_qs(), or transition to usermode execution (as
|
* cond_resched_tasks_rcu_qs(), or transition to usermode execution (as
|
||||||
* usermode execution is schedulable). As such, there are no read-side
|
* usermode execution is schedulable). As such, there are no read-side
|
||||||
* primitives analogous to rcu_read_lock() and rcu_read_unlock() because
|
* primitives analogous to rcu_read_lock() and rcu_read_unlock() because
|
||||||
* this primitive is intended to determine that all tasks have passed
|
* this primitive is intended to determine that all tasks have passed
|
||||||
|
|
Loading…
Reference in New Issue