Activity log for bug #1002811

Date Who What changed Old value New value Message
2012-05-22 11:36:37 Harald Sitter bug added bug
2012-05-22 11:37:04 Harald Sitter nominated for series Ubuntu Precise
2012-05-22 11:37:04 Harald Sitter bug task added xsettings-kde (Ubuntu Precise)
2012-05-22 11:37:36 Harald Sitter xsettings-kde (Ubuntu): status New Fix Released
2012-05-22 11:42:16 Harald Sitter bug added subscriber Ubuntu Stable Release Updates Team
2012-05-22 11:44:11 Harald Sitter attachment added diff of SRU change https://bugs.launchpad.net/ubuntu/+source/xsettings-kde/+bug/1002811/+attachment/3157698/+files/ubuntu2-to-ubuntu21.diff
2012-05-24 20:24:32 Brian Murray xsettings-kde (Ubuntu Precise): status New Triaged
2012-05-24 21:11:57 Steve Langasek description In the xevent processing thread there is a conditional sleep() call when the event queue is empty. This is unnecessary as the used XNextEvent function blocks on an empty queue. The sleep call thus causes an unnecessary wake up every 2 seconds preventing CPU sleep and consuming CPU time for no good reason. This is easily resolved by removing the bogus loop. Reproduce: * make sure xsettings-kde is running * use sudo powertop * observe that xsettings-kde is having 0.5 events/second (one event every 2 seconds) and causes CPU usage of (on my system) 14us Fixed: * in powertop xsettings-kde does not have any events most of the time, using no CPU (or it is not showing up at all) In the xevent processing thread there is a conditional sleep() call when the event queue is empty. This is unnecessary as the used XNextEvent function blocks on an empty queue. The sleep call thus causes an unnecessary wake up every 2 seconds preventing CPU sleep and consuming CPU time for no good reason. This is easily resolved by removing the bogus loop. [Test Case] Reproduce: * make sure xsettings-kde is running * use sudo powertop * observe that xsettings-kde is having 0.5 events/second (one event every 2 seconds) and causes CPU usage of (on my system) 14us Fixed: * in powertop xsettings-kde does not have any events most of the time, using no CPU (or it is not showing up at all)
2012-05-25 03:33:42 Chris Halse Rogers xsettings-kde (Ubuntu Precise): status Triaged Fix Committed
2012-05-25 03:33:47 Chris Halse Rogers bug added subscriber SRU Verification
2012-05-25 03:33:53 Chris Halse Rogers tags verification-needed
2012-05-25 03:58:17 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/xsettings-kde
2012-05-25 12:37:53 Jonathan Thomas tags verification-needed verification-done
2012-05-25 15:52:57 Scott Kitterman xsettings-kde (Ubuntu Precise): assignee Michał Zając (quintasan)
2012-06-01 12:12:09 Launchpad Janitor xsettings-kde (Ubuntu Precise): status Fix Committed Fix Released