Re: strange delays on console logouts (tty != 1)

From: Andrew Morton
Date: Sat May 01 2004 - 20:13:21 EST


Petr Vandrovec <vandrove@xxxxxxxxxx> wrote:
>
> (2) tty hangup is scheduled for work_queue.

This is the problem, isn't it?

>From what context is tty_hangup() invoked? (stick a dump_stack() in there>?)

If possible, we should simply call do_tty_hangup() synchronously and only
do the schedule_work() thing when the hangup is initiated from the hardware
side.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/