Revert "workqueue: Make queue_rcu_work() use call_rcu_flush()"

This reverts commit d0dc26b405.
This commit is contained in:
Ksawlii 2024-11-19 18:15:40 +01:00
parent 7fcc5fcd13
commit 9f899d45ad

View file

@ -1796,7 +1796,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_flush(&rwork->rcu, rcu_work_rcufn);
call_rcu(&rwork->rcu, rcu_work_rcufn);
return true;
}