Re: [BUG][2.6.8.1] serial driver hangs SMP kernel, but not the UP kernel

Paul Fulghum
2004-10-29T23:58:34Z

On Fri, 2004-10-29 at 15:20, Russell King wrote:
> At a guess, you've enabled "low latency" setting on this port ?

Would it make sense to do something like (in tty_io.c) the following?

void tty_flip_buffer_push(struct tty_struct *tty)
{
if (tty->low_latency) {
if (in_interrupt()) {
printk(KERN_ERR "tty_flip_buffer_push called with low latency from interrupt!\n");
dump_stack();
schedule_delayed_work(&tty->flip.work, 1);
}
else
flush_to_ldisc((void *) tty);
}
else
schedule_delayed_work(&tty->flip.work, 1);
}

--
Paul Fulghum
paulkf@microgate.com