[all-commits] [llvm/llvm-project] 98c21a: [sanitizer][fuchsia] Implement ReleaseMemoryPagesToOS
Marco Vanotti via All-commits
all-commits at lists.llvm.org
Wed Jan 27 11:18:02 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 98c21ae7a8ec587febc899753b63054ae9aea9d6
https://github.com/llvm/llvm-project/commit/98c21ae7a8ec587febc899753b63054ae9aea9d6
Author: Marco Vanotti <mvanotti at google.com>
Date: 2021-01-27 (Wed, 27 Jan 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
Log Message:
-----------
[sanitizer][fuchsia] Implement ReleaseMemoryPagesToOS
The `zx_vmar_op_range` allows us to decommit memory pages without
needing a handle to the underlying vmo, as long as we have a handle to
a vmar that contains this mapping. This allows us to implement the
`ReleaseMemoryPagesToOS` function by decommitting the memory using a
handle to the root vmar.
Reviewed By: mcgrathr
Differential Revision: https://reviews.llvm.org/D95384
More information about the All-commits
mailing list