lkml.org 
[lkml]   [2005]   [Mar]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 20 Mar 2005 14:49:39 +0300
FromMichael Tokarev <>
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:11    [from the cache]
©2003-2008