Messages in this thread | | | Date | Wed, 8 Jun 2011 10:04:53 +0100 | From | Alan Cox <> | Subject | Re: tty breakage in X (Was: tty vs workqueue oddities) |
| |
> I'd love to get rid of receive_room entirely - and just letting the > tty line discipline handler say how much it actually received. in > other words, having receive_buf() just tell us how much it used, and > not looking at receive_room in the caller is absolutely the right > thing.
Shouldn't be too hard - the only use of receive_room beyond setting it to 'fire at will' is n_tty.
| |