Messages in this thread | | | Subject | Re: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline | From | Joe Perches <> | Date | Wed, 02 Apr 2014 16:47:11 -0700 |
| |
On Wed, 2014-04-02 at 16:42 -0700, Linus Torvalds wrote: > On Wed, Apr 2, 2014 at 4:28 PM, Andrew Morton <akpm@linux-foundation.org> 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
| |