[Bug 377612] New: broken auto-repeat under heavy interrupt load ...
https://bugzilla.novell.com/show_bug.cgi?id=377612 Summary: broken auto-repeat under heavy interrupt load ... Product: openSUSE 11.0 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: sndirsch@novell.com ReportedBy: mmeeks@novell.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com CC: pavel@novell.com, jkosina@novell.com Found By: --- Under heavy interrupt load auto-repeat appears to break; it's unclear why that should happen: this happened in real life with a broken scheduler, and with various people (at kernel.org), and under heavy load. If the X latency grows too much bad things happen. To reproduce simply run one of these per CPU (as root) and then start typing :-) [ lost keystrokes are fair enough, it's the auto-repeat functionality that is unfortunate ]: int main (int argc, char **argv) { volatile int i; iopl(3); while (1) { asm volatile("cli"); for (i = 0; i < 100000000; i++); asm volatile("sti"); sleep (1); } return 0; } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=377612
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377612#c1
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=377612
User jkosina@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377612#c2
--- Comment #2 from Jiri Kosina
Program received signal SIGSEGV, Segmentation fault. main (argc=1, argv=0x7fff31d266b8) at test.c:9 9 asm volatile("cli"); (gdb) n
cli is of course privileged instruction. Are you running it as root? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=377612
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377612#c3
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=377612
User jkosina@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377612#c4
--- Comment #4 from Jiri Kosina
https://bugzilla.novell.com/show_bug.cgi?id=377612
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377612#c5
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=377612
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377612#c6
--- Comment #6 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=377612
User jkosina@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377612#c7
--- Comment #7 from Jiri Kosina
Well, don't you run into more serious problems under heavy interrupt load?
In fact, the rest of the system seems to be working quite well.
An autorepeat becoming more slowly than usual looks minor to me in this case.
The problem is not that autorepeat is slow, but that it sometimes for some reason loses the keypress event, and repeats the key (wrongly) infinitely. This doesn't seem to happen in console, so it's not a bug in the in-kernel/in-HW autorepeat. Also, it seems that not only *HUGE* interrupt latencies cause problems, but also increasing an scheduling latency a little bit causes the xorg autorepeat misbehave. This has been recently uncovered by latency problems of group scheduler in linux kernel. It made the scheduling latencies grow for X, and that caused broken autorepeat. See http://bugzilla.kernel.org/show_bug.cgi?id=10163 (and http://bugzilla.kernel.org/show_bug.cgi?id=10012) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=377612
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377612#c8
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=377612
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377612#c9
--- Comment #9 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=377612
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377612#c10
--- Comment #10 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=377612
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377612#c11
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com