Bug 3675
Summary: | cputime patches cause Konqueror to crash when it tries to execute JavaScript | ||
---|---|---|---|
Product: | Alternate Trees | Reporter: | Rafael J. Wysocki (rjwysocki) |
Component: | mm | Assignee: | Martin Schwidefsky (schwidefsky) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.10-rc1-mm2 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | Fix do_setitimer |
Description
Rafael J. Wysocki
2004-10-31 07:37:28 UTC
This is a bug the cputime patch. In kernel/itimer.c, do_setitmer increases the it_virt_value and it_prof_values by one jiffies if they are not zero. If the applications does a setitimer(ITMER_VIRTUAL, &itv, NULL) with e.g. 1/100 sec the timer goes off sometime between 1/100 sec and 2/100 sec. The cputime patch removed the j++ which caused the timer to go off between 0/100 sec and 1/100 sec. I never notices this on s390 because I have my micro-second based virtual/profiling timer that goes off after 1/100 sec of virtual time have passed (there is no jiffies grid anymore). I readded the increase of 1 jiffy for it_virt_value and it_prof_value and konqueror works again. Created attachment 3931 [details]
Fix do_setitimer
|