Messages in this thread | | | Date | Wed, 14 Oct 2009 08:07:36 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [Bug #14388] keyboard under X with 2.6.31 |
| |
On Wed, 14 Oct 2009, Alan Cox wrote: > > Stop a moment. The code wasn't designed to permit two paralle calls of > flush_to_ldisc to the same tty. That was always forbidden when that code > was designed.
No, the code was clearly _designed_ for it - that's the whole and only point of the
tty->buf.head = NULL;
line.
But it's certainly true that it just never happened before. At least for the !low_latency case, I'm not so sure about the low_latency=1 case, but I haven't checked either - it would depend on any higher-level serialization.
Linus
| |