Firefox had 2 condition variables that were waited on with a timeout of 250
miliseconds in a loop.
It appears that the author of the code uses 250 milliseconds as "inifite",
however, the PR_WaitCondVar() API has an actual value for inifite,
PR_INTERVAL_NO_TIMEOUT. Use that instead.
Created attachment 119706 [details, diff]
A patch to fix timer problem
Created attachment 119707 [details, diff]
A diff of the changed required in mozilla-filrefox-184.108.40.206.ebuild
Did you submit this upstream? Apparently not a Gentoo-specific issue.
Send this to upstream.
(In reply to comment #3)
> Did you submit this upstream? Apparently not a Gentoo-specific issue.
The patches are are the result of the Powertop work from Intel:
Next time please tell where you go the patches when you didn't write them yourself. The upstream bug report is:
*** Bug 182490 has been marked as a duplicate of this bug. ***