diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-10-24 17:25:02 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-12-04 19:28:10 +0100 |
commit | a7e6425ea5816947d3cb51fbf57351207c074383 (patch) | |
tree | 59c4be6d85f52ae3225789f58674ab4ab6a12877 /kernel | |
parent | mm: Eliminate cond_resched_rcu_qs() in favor of cond_resched() (diff) | |
download | linux-a7e6425ea5816947d3cb51fbf57351207c074383.tar.xz linux-a7e6425ea5816947d3cb51fbf57351207c074383.zip |
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>
Diffstat (limited to 'kernel')
-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) * stop_machine. At the same time, report a quiescent RCU state so * the same condition doesn't freeze RCU. */ - cond_resched_rcu_qs(); + cond_resched(); spin_lock_irq(&pool->lock); |