diff options
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 5dbe22aa3efd..09b685daee3d 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -2043,9 +2043,10 @@ __acquires(&pool->lock) | |||
2043 | * kernels, where a requeueing work item waiting for something to | 2043 | * kernels, where a requeueing work item waiting for something to |
2044 | * happen could deadlock with stop_machine as such work item could | 2044 | * happen could deadlock with stop_machine as such work item could |
2045 | * indefinitely requeue itself while all other CPUs are trapped in | 2045 | * indefinitely requeue itself while all other CPUs are trapped in |
2046 | * stop_machine. | 2046 | * stop_machine. At the same time, report a quiescent RCU state so |
2047 | * the same condition doesn't freeze RCU. | ||
2047 | */ | 2048 | */ |
2048 | cond_resched(); | 2049 | cond_resched_rcu_qs(); |
2049 | 2050 | ||
2050 | spin_lock_irq(&pool->lock); | 2051 | spin_lock_irq(&pool->lock); |
2051 | 2052 | ||