summaryrefslogtreecommitdiff
path: root/drivers/acpi/pci_root.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2018-05-01 00:55:54 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-23 20:11:55 +1000
commitec97eaad1383ab2500fcf9a07ade6044fbcc67f5 (patch)
tree4c05fb0e4b4f6db8a2a56921f28dc5cc0931ce6e /drivers/acpi/pci_root.c
parenta9bf5c8a271b9a954709b7ada1bd258f5cadf7ff (diff)
downloadlinux-next-ec97eaad1383ab2500fcf9a07ade6044fbcc67f5.tar.gz
tty: hvc: hvc_poll() break hv read loop
Avoid looping with the spinlock held while there is read data being returned from the hv driver. Instead note if the entire size returned by tty_buffer_request_room was read, and request another read poll. This limits the critical section lengths, and provides more even service to other consoles in case there is a pathological condition. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/acpi/pci_root.c')
0 files changed, 0 insertions, 0 deletions