lib/irq_poll: Declare IRQ_POLL softirq vector as ksoftirqd-parking safe
authorFrederic Weisbecker <frederic@kernel.org>
Tue, 8 Feb 2022 16:16:35 +0000 (17:16 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 24 Feb 2022 17:56:47 +0000 (09:56 -0800)
commit90703e5d9f64803317186d52dce75823642116c4
tree5101de8b4de3dd2b26dec8206ed0cc2e9d05c16c
parent8001c4ebd4f70bf4732dd116654bdb8183d99e7b
lib/irq_poll: Declare IRQ_POLL softirq vector as ksoftirqd-parking safe

The following warning may appear while setting a CPU down:

NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #20!!!

The IRQ_POLL_SOFTIRQ vector can be raised during the hotplug cpu_down()
path after ksoftirqd is parked and before the CPU actually dies. However
this is handled afterward at the CPUHP_IRQ_POLL_DEAD stage where the
queue gets migrated.

Hence this warning can be considered spurious and the vector can join
the "hotplug-safe" list.

Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Tested-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
include/linux/interrupt.h