Re: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline

Linus Torvalds
2014-04-04T22:48:56Z

On Fri, Apr 4, 2014 at 3:45 PM, Alexei Starovoitov
<alexei.starovoitov@gmail.com> wrote:
>
> can there be two bulletproof buffers: one for in kernel printk
> and another ratelimited one for writes into /dev/kmsg.
> On the read from /dev/kmsg they're combined by time.

Or, you know, people could just stop spamming /dev/kmsg.

Let's not overdesign this. No sane use will be impacted by rate
limiting, and insane uses aren't something we should design for. Even
the systemd spam was a *bug*, for chrissake.

Linus