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

Issue 2818623004: Use MADV_FREE_REUSABLE instead of MADV_FREE in partition alloc for macOS. (Closed)

Created:
3 years, 8 months ago by erikchen
Modified:
3 years, 8 months ago
Reviewers:
haraken, Mark Mentovai, sof
CC:
chromium-reviews, Dai Mikurube (NOT FULLTIME), Mads Ager (chromium), vmpstr+watch_chromium.org, wfh+watch_chromium.org, oilpan-reviews, danakj+watch_chromium.org, kouhei+heap_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use MADV_FREE_REUSABLE instead of MADV_FREE in partition alloc for macOS. MADV_FREE_REUSABLE has comparable behavior, but also marks the pages with the reusable bit, which allows both Activity Monitor and memory-infra to correctly track the pages. BUG=708797 Review-Url: https://codereview.chromium.org/2818623004 Cr-Commit-Position: refs/heads/master@{#465910} Committed: https://chromium.googlesource.com/chromium/src/+/170a64cd3c62e469dce0fd4790843e414ea8e5ef

Patch Set 1 #

Patch Set 2 : Add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M base/allocator/partition_allocator/page_allocator.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
erikchen
haraken, mark: Please review. PS#1 passes all tests, and PS#2 just adds a comment.
3 years, 8 months ago (2017-04-20 02:31:18 UTC) #9
Mark Mentovai
LGTM
3 years, 8 months ago (2017-04-20 02:33:07 UTC) #10
sof
Is it available across all supported OSX versions?
3 years, 8 months ago (2017-04-20 05:45:40 UTC) #14
erikchen
On 2017/04/20 05:45:40, sof wrote: > Is it available across all supported OSX versions? Yes, ...
3 years, 8 months ago (2017-04-20 05:58:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2818623004/20001
3 years, 8 months ago (2017-04-20 05:59:32 UTC) #18
sof
lgtm
3 years, 8 months ago (2017-04-20 06:02:59 UTC) #19
sof
I can't see the associated bug, but issue 675956 is another which I suspect is ...
3 years, 8 months ago (2017-04-20 06:04:44 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/170a64cd3c62e469dce0fd4790843e414ea8e5ef
3 years, 8 months ago (2017-04-20 06:05:32 UTC) #23
haraken
3 years, 8 months ago (2017-04-20 06:18:30 UTC) #24
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698