summaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorSergey Senozhatsky2016-09-02 01:15:04 +0200
committerLinus Torvalds2016-09-02 02:52:01 +0200
commit19feeff18bbfde659baa58c2346f15a24d7c405e (patch)
tree46d008dc821260a189a47d541287f02331550831 /.mailmap
parenttreewide: remove references to the now unnecessary DEFINE_PCI_DEVICE_TABLE (diff)
downloadkernel-qcow2-linux-19feeff18bbfde659baa58c2346f15a24d7c405e.tar.gz
kernel-qcow2-linux-19feeff18bbfde659baa58c2346f15a24d7c405e.tar.xz
kernel-qcow2-linux-19feeff18bbfde659baa58c2346f15a24d7c405e.zip
printk/nmi: avoid direct printk()-s from __printk_nmi_flush()
__printk_nmi_flush() can be called from nmi_panic(), therefore it has to test whether it's executed in NMI context and thus must route the messages through deferred printk() or via direct printk(). This is to avoid potential deadlocks, as described in commit cf9b1106c81c ("printk/nmi: flush NMI messages on the system panic"). However there remain two places where __printk_nmi_flush() does unconditional direct printk() calls: - pr_err("printk_nmi_flush: internal error ...") - pr_cont("\n") Factor out print_nmi_seq_line() parts into a new printk_nmi_flush_line() function, which takes care of in_nmi(), and use it in __printk_nmi_flush() for printing and error-reporting. Link: http://lkml.kernel.org/r/20160830161354.581-1-sergey.senozhatsky@gmail.com Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Cc: Petr Mladek <pmladek@suse.com> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions