Linux-kernel mailing list archive 1997-47,: Re: TTY changes to 2.1.65

# Re: TTY changes to 2.1.65

Andrea Arcangeli (arcangeli@mbox.queen.it)
Sat, 29 Nov 1997 18:01:13 +0100 (CET)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Andrea Arcangeli: "Re: Many lock-ups with 2.1.66 Part 2"
- Previous message: Alan Cox: "Re: broken pipes in tar on large files"
- In reply to: tytso@mit.edu: "TTY changes to 2.1.65"

On Mon, 24 Nov 1997 tytso@mit.edu wrote:

>Hi Linus,
>
> The following patches fix a few bugs in the serial driver, as

And it add a new one :) that continues to _lock_ my kernel when I close a
xterm.

Here the patch against 2.1.66:

--- linux/drivers/char/tty_io.c Fri Nov 28 12:21:59 1997
+++ /home/andrea/devel/linux/drivers/char/tty_io.c Sat Nov 29 17:40:25 1997
@@ -451,7 +451,7 @@
#ifdef TTY_DEBUG_HANGUP
printk("%s hangup...\n", tty_name(tty));
#endif
- queue_task(&tty->tq_hangup, &tq_timer);
+ queue_task(&tty->tq_hangup, &tq_immediate);
}
void tty_vhangup(struct tty_struct * tty)

Another warning: low_latency is never initialized and in another point
you use queue_task(&tty->tq_hangup, &tq_timer);.

Andrea[s] Arcangeli

- Next message: Andrea Arcangeli: "Re: Many lock-ups with 2.1.66 Part 2"
- Previous message: Alan Cox: "Re: broken pipes in tar on large files"
- In reply to: tytso@mit.edu: "TTY changes to 2.1.65"