Bruce Evans
e2f03b0df0
Speed up ttnread() in the !(ICANON | ISIG) case by copying to user space
...
through a temporary buffer instead of one character at a time. The old
method takes about 6 usec/char on a 486DX2/66. This is larger than than
the combined interrupt and PIO overhead for a 16550!
This change was first implemented in 1.1.5. It was rewritten for 2.1.
The clist access functions allow a simpler implementation at some cost
in correctness and speed. There needs to be an ungetc() function to
recover from EFAULT, and it wastes time to copy through a temporary
buffer.
Don't snoop on single characters that weren't read due to EFAULT.
Rewrite a snoop comment in my approximation to English.
Undo bogus exportation of ttnread().
1995-04-15 21:04:58 +00:00
..
1995-03-16 18:17:34 +00:00
1995-03-16 18:17:34 +00:00
1994-09-25 19:34:02 +00:00
1995-04-15 06:54:13 +00:00
1995-04-10 07:44:31 +00:00
1995-03-25 16:52:24 +00:00
1994-10-02 17:35:40 +00:00
1995-03-16 18:17:34 +00:00
1995-03-28 07:58:53 +00:00
1995-04-13 15:33:14 +00:00
1995-03-25 01:34:21 +00:00
1995-03-16 18:17:34 +00:00
1995-03-16 18:17:34 +00:00
1994-10-02 17:35:40 +00:00
1995-03-16 18:17:34 +00:00
1994-10-25 11:27:51 +00:00
1995-03-19 14:29:26 +00:00
1994-09-19 17:39:21 +00:00
1995-03-16 18:17:34 +00:00
1994-10-10 01:00:49 +00:00
1994-10-13 20:59:49 +00:00
1995-02-20 19:42:42 +00:00
1995-03-16 18:17:34 +00:00
1995-04-09 01:19:25 +00:00
1995-03-16 18:17:34 +00:00
1995-03-16 18:17:34 +00:00
1995-03-16 18:17:34 +00:00
1995-03-16 18:17:34 +00:00
1995-03-16 18:17:34 +00:00
1994-12-04 19:58:43 +00:00
1994-08-02 07:55:43 +00:00
1994-09-13 00:48:26 +00:00
1995-03-16 18:17:34 +00:00
1995-02-24 08:51:34 +00:00
1994-08-02 07:55:43 +00:00
1994-11-26 19:24:13 +00:00
1995-03-18 07:06:51 +00:00
1995-03-25 12:07:31 +00:00
1995-03-04 11:42:27 +00:00
1994-12-12 00:20:34 +00:00
1994-10-02 17:35:40 +00:00
1995-02-20 19:42:42 +00:00
1995-04-08 21:32:11 +00:00
1995-03-16 18:17:34 +00:00
1995-03-16 18:17:34 +00:00
1994-08-02 07:55:43 +00:00
1995-03-21 07:16:12 +00:00
1994-08-02 07:55:43 +00:00
1995-04-13 18:24:33 +00:00
1995-03-16 18:17:34 +00:00
1994-10-02 17:35:40 +00:00
1995-03-16 18:17:34 +00:00
1995-03-25 16:52:24 +00:00
1994-09-13 14:47:38 +00:00
1994-10-02 17:35:40 +00:00
1994-10-06 21:07:04 +00:00
1995-02-20 22:23:31 +00:00
1995-04-11 17:54:25 +00:00
1995-03-21 11:24:05 +00:00
1995-04-08 21:32:11 +00:00
1995-04-10 01:45:43 +00:00
1995-02-27 19:47:53 +00:00
1994-11-26 19:24:13 +00:00
1994-08-02 07:55:43 +00:00
1994-12-04 01:46:13 +00:00
1995-04-15 21:04:58 +00:00
1995-01-05 19:51:51 +00:00
1995-03-15 07:52:06 +00:00
1994-08-02 07:55:43 +00:00
1994-10-02 17:35:40 +00:00
1994-10-02 17:35:40 +00:00
1995-02-16 01:07:43 +00:00
1995-03-16 18:17:34 +00:00
1995-02-15 11:30:35 +00:00
1995-04-09 06:02:46 +00:00
1995-04-15 00:49:35 +00:00
1995-04-04 02:10:17 +00:00
1994-11-12 01:47:43 +00:00
1995-04-09 06:02:46 +00:00
1995-03-29 11:54:02 +00:00
1994-10-20 00:48:28 +00:00
1994-10-06 21:07:04 +00:00
1994-11-12 01:47:43 +00:00
1995-04-09 06:02:46 +00:00
1995-03-29 11:54:02 +00:00
1995-03-19 12:08:03 +00:00
1994-08-02 07:55:43 +00:00
1994-08-02 07:55:43 +00:00
1994-09-28 16:45:22 +00:00