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

Issue 762273002: Allow closing SharedMemory without unmapping it. (Closed)

Created:
6 years ago by jbauman
Modified:
6 years ago
Reviewers:
danakj
CC:
chromium-reviews, posciak+watch_chromium.org, jam, gavinp+memory_chromium.org, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, erikwright+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Allow closing SharedMemory without unmapping it. This allows us to reduce the number of fds that are in use if the SharedMemory is mapped once and never shared to another process. Committed: https://crrev.com/569918beae87b992d951e105f94d15eb5939bdcb Cr-Commit-Position: refs/heads/master@{#307776}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -11 lines) Patch
M base/memory/discardable_shared_memory.cc View 1 chunk +1 line, -0 lines 0 comments Download
M base/memory/shared_memory.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M base/memory/shared_memory_nacl.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M base/memory/shared_memory_posix.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M base/memory/shared_memory_unittest.cc View 1 1 chunk +23 lines, -0 lines 0 comments Download
M base/memory/shared_memory_win.cc View 2 chunks +1 line, -5 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
jbauman
6 years ago (2014-12-03 01:07:48 UTC) #2
jbauman
ping
6 years ago (2014-12-04 23:44:25 UTC) #3
danakj
Have you looked at other callsites of close? Should this be unmapping too? https://code.google.com/p/chromium/codesearch#chromium/src/components/nacl/browser/nacl_process_host.cc&l=734 Maybe ...
6 years ago (2014-12-10 20:51:51 UTC) #4
jbauman
On 2014/12/10 20:51:51, danakj wrote: > Have you looked at other callsites of close? Yeah, ...
6 years ago (2014-12-10 20:55:16 UTC) #5
jbauman
On 2014/12/10 20:55:16, jbauman wrote: > On 2014/12/10 20:51:51, danakj wrote: > > Have you ...
6 years ago (2014-12-10 20:56:16 UTC) #6
danakj
Ok this seems fine then. Thanks, LGTM
6 years ago (2014-12-10 20:57:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/762273002/40001
6 years ago (2014-12-10 21:03:51 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-10 22:07:26 UTC) #10
commit-bot: I haz the power
6 years ago (2014-12-10 22:08:05 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/569918beae87b992d951e105f94d15eb5939bdcb
Cr-Commit-Position: refs/heads/master@{#307776}

Powered by Google App Engine
This is Rietveld 408576698