RE: [PATCH] printk: fixing the deadlock when calling printk in nmihandle

From: Peter Zijlstra
Date: Wed Jul 04 2012 - 10:09:38 EST


On Wed, 2012-07-04 at 15:39 +0200, Peter Zijlstra wrote:
> > Anyway, in nmi handler, calling printk is dangerous. This patch is for this case.
>
> But its ugly and decreases reliability.. Your 'solution' is to
> basically ignore serialization and pray, that's not a solution, that's
> gambling.

If you want to fix it, do something like:

http://marc.info/?l=linux-kernel&m=132446646923333

--
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/