Message ID | 20221016162305.2489629-12-joel@joelfernandes.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 09db105288b9bf67c574b3f22eb2c84e6966ae49 |
Headers | show |
Series | rcu: call_rcu() power improvements | expand |
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index aeea9731ef80..fe1146d97f1a 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -1771,7 +1771,7 @@ bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork) if (!test_and_set_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(work))) { rwork->wq = wq; - call_rcu(&rwork->rcu, rcu_work_rcufn); + call_rcu_flush(&rwork->rcu, rcu_work_rcufn); return true; }