x86/nmi: Push duration printk() to irq context
authorPeter Zijlstra <peterz@infradead.org>
Mon, 3 Feb 2014 17:02:09 +0000 (18:02 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 9 Feb 2014 12:17:22 +0000 (13:17 +0100)
Calling printk() from NMI context is bad (TM), so move it to IRQ
context.

In doing so we slightly change (probably wreck) the debugfs
nmi_longest_ns thingy, in that it doesn't update to reflect the
longest, nor does writing to it reset the count.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Link: http://lkml.kernel.org/n/tip-rdw0au56a5ymis1u8p48c12d@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>

No differences found