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

Issue 31933005: Replace the CreateEvent/OpenEvent patches with their Nt counterparts like NtOpenEvent and NtCreateE… (Closed)

Created:
7 years, 2 months ago by ananta
Modified:
7 years, 2 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Replace the CreateEvent/OpenEvent patches with their Nt counterparts like NtOpenEvent and NtCreateEvent. Reason being :- We patch these APIS via the Export table patch which does not work with bound imports. This results in our patched functions never getting called. This should fix the GPU process hang with the XP presentation path. BUG=305815 R=cpu@chromium.org, rvargas@chromium.org, cpu Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230512

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Total comments: 18

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 1

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -255 lines) Patch
M sandbox/win/src/interceptors.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -4 lines 0 comments Download
M sandbox/win/src/interceptors_64.h View 1 2 3 4 5 6 7 1 chunk +8 lines, -16 lines 0 comments Download
M sandbox/win/src/interceptors_64.cc View 1 2 3 4 5 6 7 1 chunk +15 lines, -28 lines 0 comments Download
M sandbox/win/src/nt_internals.h View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download
M sandbox/win/src/sync_dispatcher.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -3 lines 0 comments Download
M sandbox/win/src/sync_dispatcher.cc View 1 2 3 4 5 6 7 4 chunks +9 lines, -27 lines 0 comments Download
M sandbox/win/src/sync_interception.h View 1 2 3 4 5 6 7 1 chunk +23 lines, -46 lines 0 comments Download
M sandbox/win/src/sync_interception.cc View 1 2 3 4 5 6 7 2 chunks +89 lines, -115 lines 0 comments Download
M sandbox/win/src/sync_policy.h View 1 2 3 4 5 6 7 1 chunk +1 line, -2 lines 0 comments Download
M sandbox/win/src/sync_policy.cc View 1 2 3 4 5 6 7 8 2 chunks +75 lines, -14 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
ananta
7 years, 2 months ago (2013-10-21 19:13:17 UTC) #1
cpu_(ooo_6.6-7.5)
My only real comment is that we need to modify SyncPolicy::CreateEventAction as well because we ...
7 years, 2 months ago (2013-10-22 01:27:40 UTC) #2
ananta
I agree that in general if the intercept is operating at the Nt level that ...
7 years, 2 months ago (2013-10-22 05:57:10 UTC) #3
ananta
On 2013/10/22 05:57:10, ananta wrote: > I agree that in general if the intercept is ...
7 years, 2 months ago (2013-10-22 21:02:26 UTC) #4
ananta
+rvargas
7 years, 2 months ago (2013-10-22 22:44:06 UTC) #5
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/31933005/diff/360001/sandbox/win/src/sync_policy.cc File sandbox/win/src/sync_policy.cc (right): https://codereview.chromium.org/31933005/diff/360001/sandbox/win/src/sync_policy.cc#newcode99 sandbox/win/src/sync_policy.cc:99: // file as specified. comment still says "file" https://codereview.chromium.org/31933005/diff/360001/sandbox/win/src/sync_policy.cc#newcode119 ...
7 years, 2 months ago (2013-10-22 22:56:55 UTC) #6
ananta
https://codereview.chromium.org/31933005/diff/360001/sandbox/win/src/sync_policy.cc File sandbox/win/src/sync_policy.cc (right): https://codereview.chromium.org/31933005/diff/360001/sandbox/win/src/sync_policy.cc#newcode99 sandbox/win/src/sync_policy.cc:99: // file as specified. On 2013/10/22 22:56:55, cpu wrote: ...
7 years, 2 months ago (2013-10-22 23:03:36 UTC) #7
rvargas (doing something else)
https://codereview.chromium.org/31933005/diff/120001/sandbox/win/src/interceptors.h File sandbox/win/src/interceptors.h (right): https://codereview.chromium.org/31933005/diff/120001/sandbox/win/src/interceptors.h#newcode42 sandbox/win/src/interceptors.h:42: OPEN_EVENT_ID, nit: invert the order https://codereview.chromium.org/31933005/diff/120001/sandbox/win/src/interceptors_64.cc File sandbox/win/src/interceptors_64.cc (right): ...
7 years, 2 months ago (2013-10-23 01:36:57 UTC) #8
ananta
https://codereview.chromium.org/31933005/diff/120001/sandbox/win/src/interceptors.h File sandbox/win/src/interceptors.h (right): https://codereview.chromium.org/31933005/diff/120001/sandbox/win/src/interceptors.h#newcode42 sandbox/win/src/interceptors.h:42: OPEN_EVENT_ID, On 2013/10/23 01:36:57, rvargas wrote: > nit: invert ...
7 years, 2 months ago (2013-10-23 06:20:18 UTC) #9
rvargas (doing something else)
LGTM https://codereview.chromium.org/31933005/diff/730001/sandbox/win/src/sync_policy.cc File sandbox/win/src/sync_policy.cc (right): https://codereview.chromium.org/31933005/diff/730001/sandbox/win/src/sync_policy.cc#newcode125 sandbox/win/src/sync_policy.cc:125: &local_handle, EVENT_ALL_ACCESS, &object_attributes, nit: move args to the ...
7 years, 2 months ago (2013-10-23 18:07:02 UTC) #10
cpu_(ooo_6.6-7.5)
lgtm
7 years, 2 months ago (2013-10-23 18:27:31 UTC) #11
ananta
Committed patchset #9 manually as r230512 (presubmit successful).
7 years, 2 months ago (2013-10-23 21:23:12 UTC) #12
falken
On 2013/10/23 21:23:12, ananta wrote: > Committed patchset #9 manually as r230512 (presubmit successful). I ...
7 years, 2 months ago (2013-10-24 04:18:14 UTC) #13
ananta
7 years, 2 months ago (2013-10-24 06:25:18 UTC) #14
Message was sent while issue was closed.
On 2013/10/24 04:18:14, falken wrote:
> On 2013/10/23 21:23:12, ananta wrote:
> > Committed patchset #9 manually as r230512 (presubmit successful).
> 
> I think this causes the following tests to fail:
> SyncPolicyTest.TestEvent
> SyncPolicyTest.TestEventReadOnly 
> 
>
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%25...

Sorry for causing this. Will reland after fixing the tests.

Thanks
Ananta

Powered by Google App Engine
This is Rietveld 408576698