aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2018-09-09 05:39:16 +0000
committerGreg Kroah-Hartman <[email protected]>2018-09-10 16:04:31 +0000
commit7f2bf7840b74a160f908db83bc8829f8de10629b (patch)
tree2a34c7484d8288d850e3343244f46a570bf851ce /tools/perf/scripts/python/sched-migration.py
parenttty: hvc: hvc_poll() fix read loop batching (diff)
downloadkernel-7f2bf7840b74a160f908db83bc8829f8de10629b.tar.gz
kernel-7f2bf7840b74a160f908db83bc8829f8de10629b.zip
tty: hvc: hvc_write() fix break condition
Commit 550ddadcc758 ("tty: hvc: hvc_write() may sleep") broke the termination condition in case the driver stops accepting characters. This can result in unnecessary polling of the busy driver. Restore it by testing the hvc_push return code. Tested-by: Matteo Croce <[email protected]> Tested-by: Jason Gunthorpe <[email protected]> Tested-by: Leon Romanovsky <[email protected]> Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions