diff options
author | Daniel Drake <[email protected]> | 2010-10-20 16:00:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-10-22 10:20:11 -0700 |
commit | cd3ecad19aea8debae9a48b53de2ec7a571f24e9 (patch) | |
tree | fbdb69e372b60cd01daca0c9ea3c8b5ebebb4d00 /tools/perf/scripts/python/syscall-counts.py | |
parent | 0dd25df1a4e63c078f357aaffb09789c9438378f (diff) |
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.
[[email protected]: use the superior printk_ratelimited()]
[[email protected]: printk_ratelimited() needs ratelimit.h]
Signed-off-by: Daniel Drake <[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions