Re: [rfc 1/4] x86: irq.c - tiny cleanup

From: Cyrill Gorcunov
Date: Sun Apr 12 2009 - 13:54:45 EST


[Ingo Molnar - Sun, Apr 12, 2009 at 07:25:36PM +0200]
|
| * Cyrill Gorcunov <gorcunov@xxxxxxxxxx> wrote:
|
| > Impact: cleanup
| >
| > 1) guard ack_bad_irq with printk_ratelimit since there is no
| > guarantee we will not be flooded one day
| > 2) use pr_emerg helper
| >
...
| Btw, this is not so theoretical - in the past i've had bugs where a
| flood of these messages made the system unusable. (granted, it would
| have been unusable even with rate-limiting - but it's still nice to
| have a throttle in place for something like this.)
|
| Ingo
|

I bet the only benefit is that a user will have
some time to pull out camera and snap screen
before it's scrolled with bad irq messages :)

Cyrill
--
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/