commit | 2b183fe48b1860c29909d6bdebfbce4ac540b848 | [log] [tgz] |
---|---|---|
author | erikchen <erikchen@chromium.org> | Fri Apr 21 07:10:39 2017 |
committer | Commit bot <commit-bot@chromium.org> | Fri Apr 21 07:10:39 2017 |
tree | 7f624210967ea1c769d801b6ef665af988f94d8f | |
parent | 25a6662f9fc2f14400dfec455824966b01c98da7 [diff] |
macOS: Use MADV_FREE_REUSABLE for discardable shared memory. 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=713892 Review-Url: https://codereview.chromium.org/2834743002 Cr-Original-Commit-Position: refs/heads/master@{#466280} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 61f066322d740afe3e2b17789fbc8960ed56558b