um: Make line/tty semantics use true write IRQ
authorAnton Ivanov <anton.ivanov@cambridgegreys.com>
Tue, 25 Sep 2018 07:47:13 +0000 (08:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Nov 2019 17:28:44 +0000 (18:28 +0100)
commitb7b08f9aa88676b92ef7620be5f42fff0bbc612d
treefac3147582654ca59b38a64e840f3aef114e594e
parentea2b783ced19f284f74a6cbe7b858125be6f9875
um: Make line/tty semantics use true write IRQ

[ Upstream commit 917e2fd2c53eb3c4162f5397555cbd394390d4bc ]

This fixes a long standing bug where large amounts of output
could freeze the tty (most commonly seen on stdio console).
While the bug has always been there it became more pronounced
after moving to the new interrupt controller.

The line semantics are now changed to have true IRQ write
semantics which should further improve the tty/line subsystem
stability and performance

Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/drivers/line.c