tty performance under high load fixed

Andrea Arcangeli (andrea@e-mind.com)
Fri, 18 Dec 1998 15:43:40 +0100 (CET)


Nice to see that this patch I seen in pre-2.1.132-2 has cured the bad tty
performance under high load ;)

diff -u --recursive --new-file v2.1.131/linux/drivers/char/tty_ioctl.c linux/drivers/char/tty_ioctl.c
--- v2.1.131/linux/drivers/char/tty_ioctl.c Sun Nov 8 14:02:56 1998
+++ linux/drivers/char/tty_ioctl.c Thu Dec 17 16:11:37 1998
@@ -52,7 +52,6 @@
if (!tty->driver.chars_in_buffer)
return;
add_wait_queue(&tty->write_wait, &wait);
- current->counter = 0; /* make us low-priority */
if (!timeout)
timeout = MAX_SCHEDULE_TIMEOUT;
do {

Andrea Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/