From 9f899d45ad77385918fd5ef1a07c8f829f5d59a2 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Tue, 19 Nov 2024 18:15:40 +0100 Subject: [PATCH] Revert "workqueue: Make queue_rcu_work() use call_rcu_flush()" This reverts commit d0dc26b405df9eac4343ecc3b933cddac5d10dae. --- kernel/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 831bd3e90..d46bb72a8 100755 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -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; }