diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-03 18:40:22 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-02-03 18:40:22 -0800 |
| commit | 9829f0a5c6d450d3af44dc8ba55ab49b54e3d0b4 (patch) | |
| tree | 3ae5adf813f10e578250c486a97d380285526257 /net/core/utils.c | |
| parent | a22c1627f62958ebe1347137d3a9d62ce1209d0a (diff) | |
[PATCH] printk_ratelimit() tweaks
From: Anton Blanchard <anton@samba.org>
I made a few changes, basically the burst parameter is now in units of
messages, makes much more sense than the old net ratelimit one.
I also screwed up adding a sysctl_jiffies strategy for the burst parameter.
Diffstat (limited to 'net/core/utils.c')
| -rw-r--r-- | net/core/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/utils.c b/net/core/utils.c index 7399804e1517..995f2b5168c2 100644 --- a/net/core/utils.c +++ b/net/core/utils.c @@ -38,7 +38,7 @@ void net_srandom(unsigned long entropy) } int net_msg_cost = 5*HZ; -int net_msg_burst = 10*5*HZ; +int net_msg_burst = 10; /* * This enforces a rate limit: not more than one kernel message |
