From: Gordon McNutt <gmcnutt@ri...> - 2001-02-09 20:23:45
A couple of things puzzles me about chan_kern.c:tty_receive_char().
First of all, it calls tty_flip_buffer_push() on every byte. Why? Unless
tty->low_latency is nonzero it just keeps queueing up flush_to_ldisc.
And I've never seen an example when tty->low_latency is nonzero. The
low-level tty drivers I've seen always wait until they're done pulling
in data before pushing it up.
Second, I'm seeing a lot of data being dropped because (a) it won't fit
on the flip buffer and (b) the interrupt handler has to drain the
underlying fd (a domain socket in my case) or it won't get another
Any suggestions for solving this second problem?