rcu/nocb: Rename nocb_follower_wait() to nocb_cb_wait()
This commit adjusts naming to account for the new distinction between callback and grace-period no-CBs kthreads. Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
This commit is contained in:
parent
12f54c3a84
commit
9fa471a881
|
@ -1889,7 +1889,7 @@ static int rcu_nocb_gp_kthread(void *arg)
|
||||||
* This function returns true ("keep waiting") until callbacks appear and
|
* This function returns true ("keep waiting") until callbacks appear and
|
||||||
* then false ("stop waiting") when callbacks finally do appear.
|
* then false ("stop waiting") when callbacks finally do appear.
|
||||||
*/
|
*/
|
||||||
static bool nocb_follower_wait(struct rcu_data *rdp)
|
static bool nocb_cb_wait(struct rcu_data *rdp)
|
||||||
{
|
{
|
||||||
trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("FollowerSleep"));
|
trace_rcu_nocb_wake(rcu_state.name, rdp->cpu, TPS("FollowerSleep"));
|
||||||
swait_event_interruptible_exclusive(rdp->nocb_cb_wq,
|
swait_event_interruptible_exclusive(rdp->nocb_cb_wq,
|
||||||
|
@ -1922,7 +1922,7 @@ static int rcu_nocb_cb_kthread(void *arg)
|
||||||
/* Each pass through this loop invokes one batch of callbacks */
|
/* Each pass through this loop invokes one batch of callbacks */
|
||||||
for (;;) {
|
for (;;) {
|
||||||
/* Wait for callbacks. */
|
/* Wait for callbacks. */
|
||||||
while (nocb_follower_wait(rdp))
|
while (nocb_cb_wait(rdp))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Pull the ready-to-invoke callbacks onto local list. */
|
/* Pull the ready-to-invoke callbacks onto local list. */
|
||||||
|
|
Loading…
Reference in New Issue