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

Issue 8513018: NaCl: preallocate shared-memory object on Linux as on MacOSX (Closed)

Created:
9 years, 1 month ago by Roland McGrath
Modified:
9 years, 1 month ago
Reviewers:
Mark Seaborn
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, native-client-reviews_googlegroups.com, jam, dpranke-watch+content_chromium.org
Visibility:
Public.

Description

NaCl: preallocate shared-memory object on Linux as on MacOSX Preallocating the shared memory object saves an IPC round trip. It also makes the code path more similar for Linux and Mac. It also lays the groundwork for changing the allocation method later without having to replumb the proxying layer. BUG= http://code.google.com/p/chromium/issues/detail?id=103377 TEST= nacl still works on Linux R=mseaborn@chromium.org,jam@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110361

Patch Set 1 #

Patch Set 2 : restore MakeSharedMemorySegmentViaIPC #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -32 lines) Patch
M chrome/browser/nacl_host/nacl_process_host.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/nacl/nacl_listener.cc View 1 2 chunks +43 lines, -27 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Roland McGrath
9 years, 1 month ago (2011-11-16 19:06:21 UTC) #1
Mark Seaborn
On 16 November 2011 11:06, <mcgrathr@chromium.org> wrote: > Reviewers: Mark Seaborn, John Abd-El-Malek, > > ...
9 years, 1 month ago (2011-11-16 19:13:33 UTC) #2
Mark Seaborn
On 16 November 2011 11:06, <mcgrathr@chromium.org> wrote: > Reviewers: Mark Seaborn, John Abd-El-Malek, > > ...
9 years, 1 month ago (2011-11-16 19:13:36 UTC) #3
Roland McGrath
PTAL
9 years, 1 month ago (2011-11-16 19:36:35 UTC) #4
Mark Seaborn
9 years, 1 month ago (2011-11-16 19:41:15 UTC) #5
On 2011/11/16 19:36:35, Roland McGrath wrote:
> PTAL

LGTM

Powered by Google App Engine
This is Rietveld 408576698