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>
Mon, 14 Feb 2022 18:51:21 +0000 (10:51 -0800)
commitfbc1ed420b65795e63ebe65a6f39bfd71f33dc45
treebc417d1982bc2b392603082f957577f65a077354
parent4569212dbab7509b3589e2adda467aa99cb5e2b6
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