Dave Young
717115e1a5
printk ratelimiting rewrite
...
All ratelimit user use same jiffies and burst params, so some messages
(callbacks) will be lost.
For example:
a call printk_ratelimit(5 * HZ, 1)
b call printk_ratelimit(5 * HZ, 1) before the 5*HZ timeout of a, then b will
will be supressed.
- rewrite __ratelimit, and use a ratelimit_state as parameter. Thanks for
hints from andrew.
- Add WARN_ON_RATELIMIT, update rcupreempt.h
- remove __printk_ratelimit
- use __ratelimit in net_ratelimit
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Cc: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-25 10:53:29 -07:00
..
2008-07-25 10:53:26 -07:00
2008-04-18 22:17:17 -04:00
2008-02-03 17:48:52 +02:00
2007-10-11 22:17:20 -07:00
2005-10-18 08:26:15 -07:00
2007-10-20 00:26:10 +02:00
2007-05-11 05:38:25 -04:00
2008-07-24 10:47:33 -07:00
2008-05-13 08:02:25 -07:00
2008-06-06 11:29:10 -07:00
2008-07-04 10:40:05 -07:00
2007-10-17 08:42:56 -07:00
2007-07-16 09:05:50 -07:00
2008-07-25 10:53:27 -07:00
2008-05-23 18:23:38 +02:00
2007-07-17 10:23:04 -07:00
2006-06-25 10:01:20 -07:00
2008-02-03 17:48:52 +02:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:20 -07:00
2007-05-10 18:24:13 +02:00
2008-07-12 08:22:32 -05:00
2005-04-16 15:20:36 -07:00
2006-07-03 15:27:01 -07:00
2008-07-24 10:47:14 -07:00
2006-01-08 20:13:48 -08:00
2008-05-05 16:47:14 +10:00
2008-06-12 10:47:58 +02:00
2005-04-16 15:20:36 -07:00
2008-02-06 10:41:08 -08:00
2008-02-08 09:22:34 -08:00
2008-04-29 08:11:16 -07:00
2005-04-16 15:20:36 -07:00
2007-07-17 10:23:02 -07:00
2005-04-16 15:20:36 -07:00
2008-05-14 19:11:14 -07:00
2007-10-19 11:53:41 -07:00
2008-05-01 08:04:00 -07:00
2008-07-25 10:53:28 -07:00
2006-02-03 08:32:08 -08:00
2006-06-20 20:24:58 -07:00
2008-04-29 08:06:02 -07:00
2008-03-04 16:35:17 -08:00
2007-10-17 08:42:50 -07:00
2006-10-06 08:53:40 -07:00
2007-07-31 15:39:39 -07:00
2008-07-12 08:22:32 -05:00
2008-07-24 10:47:13 -07:00
2008-07-23 11:30:15 -05:00
2008-05-10 20:58:02 -07:00
2008-04-30 16:52:58 -07:00
2008-07-21 21:55:00 -07:00
2008-07-25 10:53:29 -07:00
2008-01-24 20:40:05 -08:00
2007-11-08 21:34:09 +08:00
2008-07-25 10:53:29 -07:00
2008-05-18 23:35:43 -05:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:03 -07:00
2006-12-07 08:39:43 -08:00
2008-07-24 10:47:33 -07:00
2008-05-14 19:23:25 -05:00
2008-07-11 19:27:31 -04:00
2006-06-27 17:32:46 -07:00
2007-10-19 11:53:41 -07:00
2005-04-16 15:20:36 -07:00
2008-04-30 08:29:50 -07:00
2008-07-04 10:40:04 -07:00
2008-04-03 14:07:02 -07:00
2008-07-25 10:53:29 -07:00
2006-09-30 20:26:56 +02:00
2006-12-13 09:05:49 -08:00
2008-02-08 09:22:31 -08:00
2008-01-30 13:33:00 +01:00
2008-07-23 14:42:09 +02:00
2007-02-11 10:51:32 -08:00
2008-07-18 22:34:00 +02:00
2007-10-17 08:42:52 -07:00
2007-10-19 11:53:43 -07:00
2008-05-01 08:03:59 -07:00
2008-04-29 08:06:12 -07:00
2008-07-22 19:24:31 +10:00
2008-07-08 02:37:54 -07:00
2008-07-08 02:38:27 -07:00
2008-07-08 02:38:09 -07:00
2008-07-06 16:55:51 -07:00