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

Issue 147203005: Linux Sandbox: Stop GPU watchdog in accountable way. (Closed)

Created:
6 years, 10 months ago by jln (very slow on Chromium)
Modified:
6 years, 10 months ago
CC:
chromium-reviews, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, agl, jln+watch_chromium.org
Visibility:
Public.

Description

Linux Sandbox: Stop GPU watchdog in accountable way. The Linux sandbox can sometimes detect a spurious running thread if it has just been stopped. We add a new LinuxSandbox::StopThread() method to safely stop threads and make sure they won't be counted as still running. BUG=328620 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249937

Patch Set 1 : #

Total comments: 15

Patch Set 2 : Address nits. #

Patch Set 3 : Use SafeScopedFD properly. #

Total comments: 3

Patch Set 4 : Comment nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -30 lines) Patch
M content/common/sandbox_linux/sandbox_linux.h View 3 chunks +14 lines, -3 lines 0 comments Download
M content/common/sandbox_linux/sandbox_linux.cc View 1 2 3 9 chunks +66 lines, -24 lines 0 comments Download
M content/gpu/gpu_main.cc View 1 chunk +7 lines, -3 lines 0 comments Download
M sandbox/linux/sandbox_linux.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M sandbox/linux/sandbox_linux_test_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A sandbox/linux/services/thread_helpers.h View 1 1 chunk +33 lines, -0 lines 0 comments Download
A sandbox/linux/services/thread_helpers.cc View 1 1 chunk +84 lines, -0 lines 0 comments Download
A sandbox/linux/services/thread_helpers_unittests.cc View 1 chunk +93 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jln (very slow on Chromium)
Jorge, can you please take a look?
6 years, 10 months ago (2014-02-07 21:57:36 UTC) #1
Jorge Lucangeli Obes
https://codereview.chromium.org/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc File content/common/sandbox_linux/sandbox_linux.cc (right): https://codereview.chromium.org/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc#newcode197 content/common/sandbox_linux/sandbox_linux.cc:197: // Using DCHECK here would be incorrect. DCHECK can ...
6 years, 10 months ago (2014-02-07 22:30:34 UTC) #2
jln (very slow on Chromium)
Thanks, PTAL! https://chromiumcodereview.appspot.com/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc File content/common/sandbox_linux/sandbox_linux.cc (right): https://chromiumcodereview.appspot.com/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc#newcode197 content/common/sandbox_linux/sandbox_linux.cc:197: // Using DCHECK here would be incorrect. ...
6 years, 10 months ago (2014-02-07 22:53:06 UTC) #3
Jorge Lucangeli Obes
https://chromiumcodereview.appspot.com/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc File content/common/sandbox_linux/sandbox_linux.cc (right): https://chromiumcodereview.appspot.com/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc#newcode197 content/common/sandbox_linux/sandbox_linux.cc:197: // Using DCHECK here would be incorrect. DCHECK can ...
6 years, 10 months ago (2014-02-08 00:07:11 UTC) #4
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc File content/common/sandbox_linux/sandbox_linux.cc (right): https://chromiumcodereview.appspot.com/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc#newcode197 content/common/sandbox_linux/sandbox_linux.cc:197: // Using DCHECK here would be incorrect. DCHECK can ...
6 years, 10 months ago (2014-02-08 00:13:41 UTC) #5
Jorge Lucangeli Obes
lgtm % comment nit. https://chromiumcodereview.appspot.com/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc File content/common/sandbox_linux/sandbox_linux.cc (right): https://chromiumcodereview.appspot.com/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc#newcode197 content/common/sandbox_linux/sandbox_linux.cc:197: // Using DCHECK here would ...
6 years, 10 months ago (2014-02-08 00:24:21 UTC) #6
jln (very slow on Chromium)
https://chromiumcodereview.appspot.com/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc File content/common/sandbox_linux/sandbox_linux.cc (right): https://chromiumcodereview.appspot.com/147203005/diff/70001/content/common/sandbox_linux/sandbox_linux.cc#newcode197 content/common/sandbox_linux/sandbox_linux.cc:197: // Using DCHECK here would be incorrect. DCHECK can ...
6 years, 10 months ago (2014-02-08 00:36:34 UTC) #7
jln (very slow on Chromium)
Ken, could you please take a look as content/gpu/gpu_main.cc owner?
6 years, 10 months ago (2014-02-08 00:37:09 UTC) #8
piman
LGTM for gpu_main.
6 years, 10 months ago (2014-02-08 00:50:57 UTC) #9
jln (very slow on Chromium)
The CQ bit was checked by jln@chromium.org
6 years, 10 months ago (2014-02-08 01:00:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jln@chromium.org/147203005/350002
6 years, 10 months ago (2014-02-08 01:01:27 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-08 04:48:27 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=260337
6 years, 10 months ago (2014-02-08 04:48:27 UTC) #13
jln (very slow on Chromium)
The CQ bit was checked by jln@chromium.org
6 years, 10 months ago (2014-02-08 04:52:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jln@chromium.org/147203005/350002
6 years, 10 months ago (2014-02-08 04:52:29 UTC) #15
commit-bot: I haz the power
Change committed as 249937
6 years, 10 months ago (2014-02-08 04:52:49 UTC) #16
Ken Russell (switch to Gerrit)
6 years, 10 months ago (2014-02-10 19:45:53 UTC) #17
Message was sent while issue was closed.
LGTM too -- sorry for the delay.

Powered by Google App Engine
This is Rietveld 408576698