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

From: Joe Perches
Date: Wed Apr 02 2014 - 19:47:28 EST


On Wed, 2014-04-02 at 16:42 -0700, Linus Torvalds wrote:
> On Wed, Apr 2, 2014 at 4:28 PM, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Could be done per-fd: put a struct ratelimit_state into struct
> > devkmsg_user.
>
> Yeah, what Andrew said.

The default ratelimit state values are pretty low
and may need to be exposed or increased here.

include/linux/ratelimit.h:#define DEFAULT_RATELIMIT_INTERVAL (5 * HZ)
include/linux/ratelimit.h:#define DEFAULT_RATELIMIT_BURST 10


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/