summaryrefslogtreecommitdiff
path: root/kernel/rcu/tree_plugin.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2025-09-23 02:02:43 -0700
committerPaul E. McKenney <paulmck@kernel.org>2025-09-23 02:02:43 -0700
commitccd0256e697e369fc3cfa57d321074eaeac18dce (patch)
tree9acb8218d61855c67003f54072f8eeb4d6e2ec8d /kernel/rcu/tree_plugin.h
parent0e9e7023df282c7ec41e3f79e803c8feb49fcbe0 (diff)
parent82c427bc935aa5b91d0cabbbc062e71132be2bb8 (diff)
Merge branch 'rcu.2025.09.23a' into HEAD
RCU miscellaneous updates: * Document that rcu_barrier() hurries lazy callbacks * Remove local_irq_save/restore() in rcu_preempt_deferred_qs_handler() * Move list_for_each_rcu() to where it belongs * Replace use of system_wq with system_percpu_wq * WQ_PERCPU added to alloc_workqueue users * WQ_UNBOUND added to sync_wq workqueue
Diffstat (limited to 'kernel/rcu/tree_plugin.h')
-rw-r--r--kernel/rcu/tree_plugin.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 4cd170b2d655..d85763336b3c 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -626,11 +626,10 @@ notrace void rcu_preempt_deferred_qs(struct task_struct *t)
*/
static void rcu_preempt_deferred_qs_handler(struct irq_work *iwp)
{
- unsigned long flags;
struct rcu_data *rdp;
+ lockdep_assert_irqs_disabled();
rdp = container_of(iwp, struct rcu_data, defer_qs_iw);
- local_irq_save(flags);
/*
* If the IRQ work handler happens to run in the middle of RCU read-side
@@ -647,8 +646,6 @@ static void rcu_preempt_deferred_qs_handler(struct irq_work *iwp)
*/
if (rcu_preempt_depth() > 0)
WRITE_ONCE(rdp->defer_qs_iw_pending, DEFER_QS_IDLE);
-
- local_irq_restore(flags);
}
/*