Re: [PATCH] serial8250: ratelimit "too much work" error

From: Alan Cox
Date: Sat Oct 02 2010 - 09:57:52 EST


On Sat, 2 Oct 2010 12:04:38 +0100 (BST)
Daniel Drake <dsd@xxxxxxxxxx> wrote:

> 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.
>
> Signed-off-by: Daniel Drake <dsd@xxxxxxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxxxxxxx>

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