Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
irq_poll: Use raise_softirq_irqoff() in cpu_dead notifier
__raise_softirq_irqoff() adds a bit to the pending sofirq mask and this is it. The softirq won't be handled in a deterministic way but randomly when an interrupt fires and handles softirq in its irq_exit() routine or if something randomly checks and handles pending softirqs in the call chain before the CPU goes idle. Add a local_bh_disable/enable() around the IRQ-off section which will handle pending softirqs. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Link: https://lkml.kernel.org/r/20210930103754.2128949-1-bigeasy@linutronix.de
- Loading branch information