Re: [BUG][2.6.8.1] serial driver hangs SMP kernel, but not the UPkernel
From: Paul Fulghum
Date: Fri Oct 29 2004 - 20:18:13 EST
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@xxxxxxxxxxxxx
-
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/