Re: [PATCH 2/4] printk: store instead of processing cont parts

From: Linus Torvalds
Date: Sun Jul 19 2020 - 14:28:05 EST


On Sun, Jul 19, 2020 at 7:35 AM Sergey Senozhatsky
<sergey.senozhatsky@xxxxxxxxx> wrote:
>
> Can we merge lines that we don't want to merge?
>
> pr_cont() -> IRQ -> pr_cont() -> NMI -> pr_cont()

That pr_cont in either IRQ or NMI context would be a bug.

You can't validly have a PR_CONT without the non-cont that precedes it.

Linus