diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-10-24 11:25:02 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-12-04 13:28:10 -0500 |
commit | a7e6425ea5816947d3cb51fbf57351207c074383 (patch) | |
tree | 59c4be6d85f52ae3225789f58674ab4ab6a12877 | |
parent | 50d4fb781287b47c4c2d455e3395783c1f06a3a5 (diff) |
workqueue: Eliminate cond_resched_rcu_qs() in favor of cond_resched()
Now that cond_resched() also provides RCU quiescent states when
needed, it can be used in place of cond_resched_rcu_qs(). This
commit therefore makes this change.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Tejun Heo <tj@kernel.org>
Reviewed-by: Lai Jiangshan <jiangshanlai@gmail.com>
-rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 8fdb710bfdd7..aee7eaab05cb 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -2135,7 +2135,7 @@ __acquires(&pool->lock) | |||
2135 | * stop_machine. At the same time, report a quiescent RCU state so | 2135 | * stop_machine. At the same time, report a quiescent RCU state so |
2136 | * the same condition doesn't freeze RCU. | 2136 | * the same condition doesn't freeze RCU. |
2137 | */ | 2137 | */ |
2138 | cond_resched_rcu_qs(); | 2138 | cond_resched(); |
2139 | 2139 | ||
2140 | spin_lock_irq(&pool->lock); | 2140 | spin_lock_irq(&pool->lock); |
2141 | 2141 | ||