Hi,
On Tue, Oct 30, 2018 at 4:46 AM Daniel Thompson
[off-list ref] wrote:
On Mon, Oct 29, 2018 at 11:07:07AM -0700, Douglas Anderson wrote:
quoted
The function kgdb_roundup_cpus() was passed a parameter that was
documented as:
quoted
the flags that will be used when restoring the interrupts. There is
local_irq_save() call before kgdb_roundup_cpus().
Nobody used those flags. Anyone who wanted to temporarily turn on
interrupts just did local_irq_enable() and local_irq_disable() without
looking at them. So we can definitely remove the flags.
On the whole I'd rather that this change...
quoted
Speaking of calling local_irq_enable(), it seems like a bad idea and
it caused a nice splat on my system with lockdep turned on.
Specifically it hit:
DEBUG_LOCKS_WARN_ON(current->hardirq_context)
... and fixes for this this were in separate patches. They don't appear
especially related.
Agreed that this is cleaner. Done for v2.
-Doug