Daniel Drake cd3ecad19a serial8250: ratelimit "too much work" error
Running a serial console, if too many kernel messages are generated within
a short time causing a lot of serial I/O, the 8250 driver will generate
another kernel message reporting this, which just adds to the I/O. It has
a cascading effect and quickly results the system being brought to its knees
by a flood of "too much work" messages.

Ratelimit the error message to avoid this.

[akpm@linux-foundation.org: use the superior printk_ratelimited()]
[akpm@linux-foundation.org: printk_ratelimited() needs ratelimit.h]
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-22 10:20:11 -07:00
..
2010-10-22 10:20:10 -07:00
2010-09-20 16:30:00 -07:00
2010-08-10 13:47:46 -07:00
2010-10-22 10:20:10 -07:00
2010-06-04 13:37:16 -07:00
2010-06-04 13:37:16 -07:00
2010-08-16 23:44:49 -06:00
2010-02-27 18:31:02 +01:00
2010-10-22 10:20:04 -07:00