Say the kernel crashes on a CPU and keeps spewing new oopses, while write-holding
tasklist_lock.
Any other CPU that delivers a signal from IRQ context, trying to take the
tasklist_lock, will loop indefinitely until that crashing CPU releases the lock.
In that case the 'secondary' NMI warnings from all other CPUs (eventually every CPU
gets stuck in such a scenario) will start spewing NMI lockup messages.
Dunno. Maybe we should do your change - but also have an option to 'shut up' the
kernel after the first hard oops [not warning]. That would silence the secondary NMI
watchdog messages as well.
Thanks,
Ingo
--