[all-commits] [llvm/llvm-project] 00d990: [scudo][standalone] Enable secondary cache release...
Kostya Kortchinsky via All-commits
all-commits at lists.llvm.org
Wed Sep 2 14:28:52 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 00d9907a7ac86c3aa49c8cbb21a97094b5887ea9
https://github.com/llvm/llvm-project/commit/00d9907a7ac86c3aa49c8cbb21a97094b5887ea9
Author: Kostya Kortchinsky <kostyak at google.com>
Date: 2020-09-02 (Wed, 02 Sep 2020)
Changed paths:
M compiler-rt/lib/scudo/standalone/combined.h
M compiler-rt/lib/scudo/standalone/secondary.h
M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
Log Message:
-----------
[scudo][standalone] Enable secondary cache release on Fuchsia
I had left this as a TODO, but it turns out it wasn't complicated.
By specifying `MAP_RESIZABLE`, it allows us to keep the VMO which we
can then use for release purposes.
`releasePagesToOS` also had to be called the "proper" way, as Fuchsia
requires the `Offset` field to be correct. This has no impact on
non-Fuchsia platforms.
Differential Revision: https://reviews.llvm.org/D86800
More information about the All-commits
mailing list