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

Issue 1975663002: Invalid sync token waits now automatically get released. (Closed)

Created:
4 years, 7 months ago by David Yen
Modified:
4 years, 7 months ago
Reviewers:
piman
CC:
chromium-reviews, piman+watch_chromium.org, Ken Russell (switch to Gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Invalid sync token waits now automatically get released. Previously, invalid sync token waits would automatically release the fence sync. This would guard against invalid waits which pretended it would release a fence sync while issuing waits to cause dead locks. This worked, however it would allow an evil renderer to release fences on the browser which would invalidate waits. A better solution is to merely cause the invalid wait to be ignored instead. R=piman@chromium.org BUG=606112 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/9d255f0ca75efea1773fcb718c368a7a6bc4bba4 Cr-Commit-Position: refs/heads/master@{#393409}

Patch Set 1 #

Patch Set 2 : Implemented Option 2, iterate priority queue #

Patch Set 3 : format #

Patch Set 4 : Combine the 2 while loops into 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -35 lines) Patch
M gpu/command_buffer/service/sync_point_manager.h View 1 3 chunks +9 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/sync_point_manager.cc View 1 2 3 7 chunks +48 lines, -26 lines 0 comments Download
M gpu/command_buffer/service/sync_point_manager_unittest.cc View 1 2 chunks +20 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
David Yen
4 years, 7 months ago (2016-05-12 02:05:03 UTC) #1
David Yen
Hmm... the other option is to modify EnsureRelease so it iterates through the priority queue ...
4 years, 7 months ago (2016-05-12 02:26:03 UTC) #3
sunnyps
On 2016/05/12 02:26:03, David Yen wrote: > Hmm... the other option is to modify EnsureRelease ...
4 years, 7 months ago (2016-05-12 17:41:01 UTC) #4
David Yen
On 2016/05/12 17:41:01, sunnyps wrote: > On 2016/05/12 02:26:03, David Yen wrote: > > Hmm... ...
4 years, 7 months ago (2016-05-12 18:01:41 UTC) #5
piman
lgtm
4 years, 7 months ago (2016-05-12 22:03:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1975663002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1975663002/60001
4 years, 7 months ago (2016-05-12 22:04:44 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-13 00:32:45 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 00:34:43 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9d255f0ca75efea1773fcb718c368a7a6bc4bba4
Cr-Commit-Position: refs/heads/master@{#393409}

Powered by Google App Engine
This is Rietveld 408576698