Re: Many lock-ups with 2.1.66 Part 2

Andrea Arcangeli (arcangeli@mbox.queen.it)
Sat, 29 Nov 1997 21:10:33 +0100 (CET)


On Sat, 29 Nov 1997, Andrea Arcangeli wrote:

>On Fri, 28 Nov 1997, Robert Mihram wrote:
>
>>The machine locked up again. I have no clue. HELP !
>
>Try this patch:

Excuse me, the "right" one is:

--- 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 20:27:24 1997
@@ -451,7 +451,8 @@
#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);
+ mark_bh(IMMEDIATE_BH);
}

void tty_vhangup(struct tty_struct * tty)

Andrea[s] Arcangeli