Michal Ostrowski
fb5c594c2a
[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>
2006-02-24 11:36:40 +11:00
..
2006-02-20 18:34:37 -05:00
2006-02-18 16:30:54 +11:00
2006-01-15 01:57:47 +01:00
2006-02-03 08:32:10 -08:00
2006-02-03 08:32:11 -08:00
2005-12-15 10:04:31 -08:00
2006-01-10 08:01:59 -08:00
2006-02-03 08:32:04 -08:00
2006-02-17 13:59:26 -08:00
2006-02-12 14:46:48 +01:00
2006-01-01 22:21:50 +01:00
2006-01-14 10:41:42 -08:00
2005-09-10 10:06:25 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-07 07:54:02 -08:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:01:24 -08:00
2006-02-03 08:32:09 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:20 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:20 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:24:57 -07:00
2006-01-12 09:09:04 -08:00
2005-05-01 08:59:08 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:01:59 -08:00
2005-09-16 10:38:10 -07:00
2005-04-16 15:20:36 -07:00
2006-02-14 10:01:39 -08:00
2005-04-16 15:20:36 -07:00
2006-01-14 10:41:42 -08:00
2005-04-16 15:20:36 -07:00
2006-02-01 08:53:24 -08:00
2006-02-14 16:09:34 -08:00
2006-02-24 11:36:40 +11:00
2005-10-24 15:42:12 +10:00
2006-01-10 08:01:59 -08:00
2006-01-10 08:01:56 -08:00
2006-01-08 20:14:06 -08:00
2005-11-12 11:42:32 -08:00
2005-11-09 07:55:57 -08:00
2006-02-03 08:32:10 -08:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:02:01 -08:00
2006-01-10 08:01:59 -08:00
2005-04-16 15:20:36 -07:00
2006-02-08 01:04:50 -05:00
2005-12-22 23:09:54 -08:00
2005-10-29 19:30:42 +01:00
2005-10-29 19:30:42 +01:00
2005-10-28 09:52:52 -07:00
2006-01-10 08:01:24 -08:00
2005-10-04 09:39:18 -07:00
2005-05-04 07:33:13 -07:00
2006-01-12 20:09:30 +11:00
2005-10-28 09:52:52 -07:00
2006-01-06 15:22:28 -08:00
2006-01-10 09:45:36 -08:00
2006-01-10 08:01:59 -08:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:02:00 -08:00
2006-01-10 08:01:59 -08:00
2006-01-10 08:01:59 -08:00
2006-01-10 08:01:56 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-10-28 09:52:52 -07:00
2006-01-10 08:01:59 -08:00
2005-10-29 19:30:55 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-11 18:42:11 -08:00
2005-10-28 09:52:52 -07:00
2005-04-16 15:20:36 -07:00
2006-01-14 10:41:42 -08:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:25:04 -07:00
2006-02-03 08:31:59 -08:00
2005-04-16 15:20:36 -07:00
2006-01-11 18:42:10 -08:00
2006-01-07 16:15:52 +00:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-12 09:09:00 -08:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:01:59 -08:00
2006-02-07 20:57:25 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-14 10:41:42 -08:00
2005-08-15 14:17:49 -07:00
2005-10-28 21:09:26 -07:00
2005-04-25 13:28:52 -07:00
2006-01-08 20:14:03 -08:00
2005-04-16 15:20:36 -07:00
2006-01-14 10:41:42 -08:00
2006-01-15 02:37:08 +01:00
2006-02-03 08:32:03 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-18 19:20:16 -08:00
2006-01-14 10:41:42 -08:00
2006-01-10 08:01:59 -08:00
2006-02-20 20:00:09 -08:00
2006-01-10 13:39:07 +00:00
2006-02-11 21:41:13 -08:00
2006-01-18 19:25:49 -08:00
2005-06-25 16:24:24 -07:00
2006-02-14 16:09:33 -08:00
2005-06-28 21:20:34 -07:00
2005-12-29 10:19:21 -08:00
2006-01-12 20:09:29 +11:00
2005-11-09 07:55:57 -08:00
2006-01-10 08:01:59 -08:00
2006-01-10 13:39:07 +00:00
2006-01-10 09:00:55 -08:00
2005-11-07 07:53:39 -08:00
2006-02-01 08:53:26 -08:00