Hi! > Comments? Does this work? Does it make any difference? It seems fairly > unlikely, but it's the only obvious problem I've seen in the tty buffering > code so far. > > And that code is literally 3 years old, and it seems unlikely that a > regular _keyboard_ buffer would be able to hit the (rather small) race > condition. But other serialization may have hidden it, and timing > differences could certainly have caused it to trigger much more easily. I use this (run as root) to trigger various problems in this area... (portable between i386 and i386). Pavel void main(void) { int i; iopl(3); while (1) { asm volatile("cli"); // for (i=0; i<20000000; i++) for (i=0; i<1000000000; i++) asm volatile(""); asm volatile("sti"); sleep(1); } } -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe kernel-testers" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html