summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZqiang <qiang.zhang@linux.dev>2026-07-16 17:56:37 +0800
committerTejun Heo <tj@kernel.org>2026-08-19 10:13:47 -1000
commit7e2f2a377ac9f50296ad60bd331f0d4def7aee51 (patch)
treea03cab27ff511b30377809442c7c794f975c8a19 /scripts
parent6eca8f94d84106d3754b9df27f46a14572af9e7f (diff)
downloadlinux-next-7e2f2a377ac9f50296ad60bd331f0d4def7aee51.tar.gz
linux-next-7e2f2a377ac9f50296ad60bd331f0d4def7aee51.zip
workqueue: Use raise_softirq() to trigger softirq in irq_work handler
bh_pool_kick_normal() and bh_pool_kick_highpri() are registered via init_irq_work() without the IRQ_WORK_HARD_IRQ flag. On PREEMPT_RT, such irq_work items are processed by the per-CPU irq_workd kthread in preemptible task context with IRQs enabled. However, raise_softirq_irqoff() requires IRQs to be disabled. Calling it from irq_workd trips the lockdep assertion in __raise_softirq_irqoff() and the non-atomic update of the softirq pending mask can lose bits raised by an interrupt on the same CPU. Replace raise_softirq_irqoff() with raise_softirq() in the irq_work handlers. Fixes: 2f34d7337d98 ("workqueue: Fix queue_work_on() with BH workqueues") Cc: stable@vger.kernel.org # v6.9+ Signed-off-by: Zqiang <qiang.zhang@linux.dev> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions