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

This reverts commit d9f15863ae.
This commit is contained in:
Ksawlii 2025-01-19 20:29:35 +01:00
parent 1fe9347f4c
commit 1b696e9b5d

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))) { if (!test_and_set_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(work))) {
rwork->wq = wq; rwork->wq = wq;
call_rcu_flush(&rwork->rcu, rcu_work_rcufn); call_rcu(&rwork->rcu, rcu_work_rcufn);
return true; return true;
} }