[Partition Alloc] Linux: Use MADV_DONTNEED instead of MADV_FREE[_RESUABLE].
Linux: We're not sure what the performance benefits of MADV_FREE are, and it makes our measurements less predictable. macOS: MADV_FREE_REUSABLE seems to have been failing, and the error was hidden by the recovery case intended for Linux MADV_FREE. The result was an unnecessary, failing call to `madvise`. Bug: 755284 Change-Id: Ic7aa3089ada131f6a1b5c40b5ddd353d34ed2c20 Reviewed-on: https://chromium-review.googlesource.com/990584 Commit-Queue: Chris Palmer <palmer@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Albert J. Wong <ajwong@chromium.org> Cr-Commit-Position: refs/heads/master@{#547598}
Showing
Please register or sign in to comment