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

From: Andy Lutomirski
Date: Fri Apr 04 2014 - 15:01:19 EST

On Fri, Apr 4, 2014 at 11:42 AM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, Apr 4, 2014 at 11:21 AM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
>> I'm using /dev/kmsg in virtme so that I can easily capture, with
>> timestamps, the ten or so log lines that it produces. It would be sad
>> if I had to worry about small ratelimits here.
> So the _default_ rate limits (which is what my example patch used) are
> almost certainly not appropriate for /dev/kmsg.

If this kind of patch goes in, I'd like to see a burst of 50 or 100
lines allowed, at least early on. If virtme's init stuff runs for
more than five seconds, something's wrong anyway.

That being said, virtme will be happily immune to a per-struct file
approach, since it's mostly written in sh and it does things like
"echo virtme-initramfs: in ur box eating ur cycles" >/dev/kmsg.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at