Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Issue 1141913002: Make X11 power save suspension calls asynchronous. (Closed)

Created:
5 years, 7 months ago by Kevin M
Modified:
5 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Randy Smith (Not in Mondays), Mike Mammarella
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make D-bus power save suspension calls asynchronous. On some systems with buggy power managers, calls to the power manager would result in long pauses that would block the FILE thread. This yielded degraded performance for other browser tasks scheduled on the same thread. BUG=173354 R=miu@chromium.org,rdsmith@chromium.org Committed: https://crrev.com/5c50887f1372b84bef43945652e405cc1b594020 Cr-Commit-Position: refs/heads/master@{#330210}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code review feedback, rename "unblock_enqueued" to "enqueue_unblock" for consistency. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -10 lines) Patch
M content/browser/power_save_blocker_x11.cc View 1 6 chunks +65 lines, -10 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
Kevin M
5 years, 7 months ago (2015-05-14 20:02:38 UTC) #1
Randy Smith (Not in Mondays)
I really think Mike's the right person to review this.
5 years, 7 months ago (2015-05-14 20:15:29 UTC) #3
Kevin Marshall
5 years, 7 months ago (2015-05-15 00:18:32 UTC) #5
Kevin M
-miu, +wez
5 years, 7 months ago (2015-05-15 18:04:53 UTC) #7
miu
lgtm % nits: https://codereview.chromium.org/1141913002/diff/1/content/browser/power_save_blocker_x11.cc File content/browser/power_save_blocker_x11.cc (left): https://codereview.chromium.org/1141913002/diff/1/content/browser/power_save_blocker_x11.cc#oldcode288 content/browser/power_save_blocker_x11.cc:288: inhibit_cookie_ = 0; nit: Either leave ...
5 years, 7 months ago (2015-05-15 18:43:31 UTC) #9
Kevin M
5 years, 7 months ago (2015-05-15 18:51:21 UTC) #11
Kevin M
Added avi to the reviewer list. Removed mdm from reviewers - it looks like he's ...
5 years, 7 months ago (2015-05-15 18:55:26 UTC) #13
Avi (use Gerrit)
On 2015/05/15 18:55:26, Kevin M_ooo_until_June_1 wrote: > Added avi to the reviewer list. > > ...
5 years, 7 months ago (2015-05-15 19:07:15 UTC) #14
miu
Still lgtm. avi: It looks like this is one of those cases where there is ...
5 years, 7 months ago (2015-05-15 21:21:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1141913002/20001
5 years, 7 months ago (2015-05-15 21:23:07 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-05-15 22:10:01 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 11:28:08 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5c50887f1372b84bef43945652e405cc1b594020
Cr-Commit-Position: refs/heads/master@{#330210}

Powered by Google App Engine
This is Rietveld 408576698