Re: [PATCH 2.6.11.2][RFC] printk with anti-cluttering-feature

From: Michael Tokarev
Date: Sun Mar 20 2005 - 06:51:16 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/