POC: Alternative solution: Re: [PATCH 0/4] printk: reimplement LOG_CONT handling

Linus Torvalds torvalds at linux-foundation.org
Fri Aug 14 22:33:46 EDT 2020


On Fri, Aug 14, 2020 at 4:52 PM Joe Perches <joe at perches.com> wrote:
>
> On Fri, 2020-08-14 at 15:46 -0700, Linus Torvalds wrote:
> >
> > This is why I think any discussion that says "people should buffer
> > their lines themselves and we should get rid if pr_cont()" is
> > fundamentally broken.
> >
> > Don't go down that hole. I won't take it. It's wrong.
>
> I don't think it's wrong per se.

It's *absolutely* and 100% wrong.

Yes, any random *user* of pr_cont() can decide to buffer on it's own.

But when the discussion is about printk() - the implementation, not
the users - then it's complete and utter BS to talk about trying to
get rid of pr_cont().

See the difference?

                Linus



More information about the kexec mailing list