Re: [PATCH 00/10] printk: Avoid deadlock in NMI + vprintk_emit() cleanup

From: Jiri Kosina
Date: Tue Jun 02 2015 - 05:53:11 EST


On Tue, 2 Jun 2015, long.wanglong wrote:

> How about replacing printk function earlier? we can replace printk
> function before we calling default_do_nmi(arch/x86/kernel/nmi.c) and
> replace back after calling.
>
> Is it a feasible solution? or does it introduce other problems?

This has been already discussed in the past when we were fixing the
NMI-based stackdumping. See

http://marc.info/?l=linux-kernel&m=141640218702588&w=2

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/