Files
linux/drivers/tty
Peter Hurley 2ceee507fa tty: Fix high cpu load if tty is unreleaseable
commit 37b1645788 upstream.

Kernel oops can cause the tty to be unreleaseable (for example, if
n_tty_read() crashes while on the read_wait queue). This will cause
tty_release() to endlessly loop without sleeping.

Use a killable sleep timeout which grows by 2n+1 jiffies over the interval
[0, 120 secs.) and then jumps to forever (but still killable).

NB: killable just allows for the task to be rewoken manually, not
to be terminated.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-11-14 09:00:10 -08:00
..
2014-04-26 17:19:04 -07:00
2014-02-13 11:12:00 -08:00
2013-01-15 22:30:15 -08:00
2013-03-18 16:24:29 -07:00
2011-03-31 11:26:23 -03:00
2013-12-08 16:56:05 -08:00
2014-07-09 11:18:28 -07:00
2013-10-16 13:08:16 -07:00
2013-07-24 15:12:53 -07:00
2014-01-07 17:05:21 -08:00
2013-12-16 16:55:43 -08:00