Messages in this thread | | | Date | Sun, 20 Mar 2005 14:49:39 +0300 | From | Michael Tokarev <> | Subject | Re: [PATCH 2.6.11.2][RFC] printk with anti-cluttering-feature |
| |
Bodo Eggert wrote: > (I hope I avoided all spam-keywords this time, my previous mails didn't > seem to make it) > (please CC me on reply) > > Issue: > > On some conditions, the dmesg is spammed with repeated warnings about the > same issue which is neither critical nor going to be fixed. This may > result in losing the boot messages or missing other important messages.
There's printk_ratelimit() already, used in quite several places in kernel (or net_ratelimit() for net/* stuff). See also Documentation/sysctl/kernel.txt, search for printk_ratelimit. JFYI.
/mjt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |