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

Issue 218633011: Stop doing unnecessary initialization in non-SFI (Closed)

Created:
6 years, 8 months ago by hamaji
Modified:
6 years, 8 months ago
Reviewers:
Mark Seaborn
CC:
chromium-reviews
Visibility:
Public.

Description

Stop doing unnecessary initialization in non-SFI We do not need to call NaClChromeMainInit for non-SFI NaCl. It seems the log module is initialized in other places, and SRPC module is initialized in nonsfi_main. Also set uses_irt=false for non-SFI NaCl. We do not need to send the unnecessary FD of IRT. With this patch, we will not call modify_ldt in non-SFI mode. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3734 BUG=350487 TEST=out/Release/browser_tests --gtest_filter='NaCl*' TEST=Our app works without modify_ldt Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261691

Patch Set 1 #

Total comments: 6

Patch Set 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -18 lines) Patch
M components/nacl/browser/nacl_process_host.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/nacl/loader/nacl_listener.cc View 1 3 chunks +27 lines, -17 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
hamaji
I'm not sure if this is the right approach. If we want to keep non-SFI ...
6 years, 8 months ago (2014-04-01 09:20:50 UTC) #1
Mark Seaborn
LGTM https://codereview.chromium.org/218633011/diff/1/components/nacl/loader/nacl_listener.cc File components/nacl/loader/nacl_listener.cc (right): https://codereview.chromium.org/218633011/diff/1/components/nacl/loader/nacl_listener.cc#newcode270 components/nacl/loader/nacl_listener.cc:270: if (!params.uses_nonsfi_mode) { This conflicts with your other ...
6 years, 8 months ago (2014-04-01 14:35:36 UTC) #2
hamaji
https://codereview.chromium.org/218633011/diff/1/components/nacl/loader/nacl_listener.cc File components/nacl/loader/nacl_listener.cc (right): https://codereview.chromium.org/218633011/diff/1/components/nacl/loader/nacl_listener.cc#newcode270 components/nacl/loader/nacl_listener.cc:270: if (!params.uses_nonsfi_mode) { On 2014/04/01 14:35:36, Mark Seaborn wrote: ...
6 years, 8 months ago (2014-04-03 07:05:54 UTC) #3
Mark Seaborn
LGTM
6 years, 8 months ago (2014-04-03 14:07:54 UTC) #4
hamaji
The CQ bit was checked by hamaji@chromium.org
6 years, 8 months ago (2014-04-04 03:18:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hamaji@chromium.org/218633011/20001
6 years, 8 months ago (2014-04-04 03:18:51 UTC) #6
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 06:24:55 UTC) #7
Message was sent while issue was closed.
Change committed as 261691

Powered by Google App Engine
This is Rietveld 408576698