summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMichal Ostrowski <mostrows@watson.ibm.com>2006-02-18 15:29:59 +0100
committerPaul Mackerras <paulus@samba.org>2006-02-24 01:36:40 +0100
commitfb5c594c2acc441f0d2d8f457484a0e0e9285db3 (patch)
tree0465b7b5fb518f21f6d4689e027f0f04bb3ebe35 /kernel
parent[PATCH] powerpc: Don't re-assign PCI resources on Maple (diff)
downloadlinux-fb5c594c2acc441f0d2d8f457484a0e0e9285db3.tar.xz
linux-fb5c594c2acc441f0d2d8f457484a0e0e9285db3.zip
[PATCH] Fix race condition in hvc console.
tty_schedule_flip() would schedule a thread that would call flush_to_ldisc(). If tty_buffer_request_room() gets called prior to that thread running -- which is likely in this loop in hvc_poll(), it would set the active flag in the tty buffer and consequently flush_to_ldisc() would ignore it. The result is that input on the hvc console is not processed. This fix calls tty_flip_buffer_push (and flags the tty as "low_latency"). The push to the ldisc thus happens synchronously. Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions