Re: printk: preempt_disable with long time resulting in softlockup/RCU stall issues

From: Luis R. Rodriguez
Date: Wed Jul 08 2015 - 13:04:13 EST


On Wed, Jul 08, 2015 at 05:08:35PM +0800, Gavin Hu wrote:
> Hi,
>
> Yes. We should disable the printk_limit feature when panic to avoid missing
> messages.

Sounds like you have been looking into it and have a good idea of what you
want to do, why not try it and send some RFC patches ?

While at it, then we could consider doing different things depending on the
message type. KERN_EMERG would disable preemption, whereas KERN_INFO may not be
so critical to require it.

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