TTY_FLIPBUF_SIZE too low causing dataloss on too fast serial lines?

Pavel Machek (pavel@bug.ucw.cz)
Tue, 25 May 1999 22:44:30 +0200


hi!

I tried implementing 1Mbit irda driver as a tty (same as serials
are). I _think_ I've hit the limit of TTY_FLIPBUF_SIZE. Is it
possible? I assume flipbufs are flushed every 10ms or so (am I right?);
in such case situation is pretty bad: that means 50K/sec max and
modern serial ports can do up-to twice as much. From reading sources I
_think_ that TTY_FLIPBUF_SIZE can not be easily increased....

Any ideas?
Pavel

-- 
I'm really pavel@ucw.cz. Look at http://195.113.31.123/~pavel.    Pavel
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/