Re: [GIT PULL] trivial for 4.9

From: Linus Torvalds
Date: Fri Oct 07 2016 - 16:13:46 EST


On Fri, Oct 7, 2016 at 1:04 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
>
> Any printk without a KERN_<level> prefix, and there
> are still many of those, can cause random interleaving.

How about people actually work on *that* instead of working around it?

Because the above really should not be true.

> Not at all. Until printk KERN_<level> uses are mandated,
> then these newlines are still useful.

The patches literally added those '\n' things to the pr_xyz() routines
that *enforce* KERN_<level>.

So really. It's a step backwards. We shouldn't need them. We should
*remove* '\n' at the end, and then if that actually causes problems,
we should fix those problems.

Linus