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

Issue 8588046: nacl_helper_bootstrap: Reserve correct address space size for ARM, none for x86-64 (Closed)

Created:
9 years, 1 month ago by Roland McGrath
Modified:
9 years, 1 month ago
Reviewers:
Mark Seaborn, Brad Chen
CC:
chromium-reviews, native-client-reviews_googlegroups.com
Visibility:
Public.

Description

nacl_helper_bootstrap: Reserve correct address space size for ARM, none for x86-64 The address space reservation has only been thoroughly used and tested on x86-32. It's also necessary on ARM, but it needs a different exact amount reserved. For x86-64, the reserved space is not used, so it's a waste of address space to consume a gigabyte for it. BUG= none TEST= nacl_integration R=mseaborn@chromium.org,bradchen@google.com Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110739

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -13 lines) Patch
M chrome/nacl.gypi View 3 chunks +32 lines, -8 lines 1 comment Download
M chrome/nacl/nacl_helper_bootstrap_linux.x View 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Roland McGrath
9 years, 1 month ago (2011-11-18 00:22:32 UTC) #1
Mark Seaborn
9 years, 1 month ago (2011-11-18 00:31:03 UTC) #2
LGTM

http://codereview.chromium.org/8588046/diff/1/chrome/nacl.gypi
File chrome/nacl.gypi (right):

http://codereview.chromium.org/8588046/diff/1/chrome/nacl.gypi#newcode147
chrome/nacl.gypi:147: 'nacl_reserve_top': ['--defsym',
'RESERVE_TOP=0x40001000'],
As an aside, do we cross-check this?  If I lower either of these two values,
does it cause a test to fail?  Does the size get passed through at runtime?

Powered by Google App Engine
This is Rietveld 408576698