public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-next, x86_64] no backtrace after "printk/nmi: generic solution for safe printk in NMI"
@ 2016-02-25  9:46 Sergey Senozhatsky
  2016-02-25 10:31 ` Sergey Senozhatsky
  0 siblings, 1 reply; 3+ messages in thread
From: Sergey Senozhatsky @ 2016-02-25  9:46 UTC (permalink / raw)
  To: Petr Mladek
  Cc: Jan Kara, Peter Zijlstra, Steven Rostedt, Andrew Morton,
	Ingo Molnar, linux-kernel, Sergey Senozhatsky, Sergey Senozhatsky

Hello Petr,

seem that commit b927968830676373caf4241e80d8b447133f84b2
	Author: Petr Mladek <pmladek@suse.com>
	Date:   Thu Feb 25 13:00:35 2016 +1100

	    printk/nmi: generic solution for safe printk in NMI
    
	    printk() takes some locks and could not be used a safe way in NMI context.
    
	    The chance of a deadlock is real especially when printing stacks from all
	    CPUs.  This particular problem has been addressed on x86 by the commit
	    a9edc8809328 ("x86/nmi: Perform a safe NMI stack trace on all CPUs").
    
	    The patchset brings two big advantages.  First, it makes the NMI
	    backtraces safe on all architectures for free.  Second, it makes all NMI
	    messages almost safe on all architectures (the temporary buffer is
	    limited.  We still should keep the number of messages in NMI context at
	    minimum).
	[..]


makes my x86_64 boxen unhappy, I see no CPU backtraces and no panic messages
on HARDLOCKUPs (CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=1).

does it work for you?

	-ss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-26  3:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25  9:46 [linux-next, x86_64] no backtrace after "printk/nmi: generic solution for safe printk in NMI" Sergey Senozhatsky
2016-02-25 10:31 ` Sergey Senozhatsky
2016-02-26  3:40   ` Sergey Senozhatsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox