Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[scudo][standalone] Compact pointers for Caches/Batches
This CL introduces configuration options to allow pointers to be compacted in the thread-specific caches and transfer batches. This offers the possibility to have them use 32-bit of space instead of 64-bit for the 64-bit Primary, thus cutting the size of the caches and batches by nearly half (and as such the memory used in size class 0). The cost is an additional read from the region information in the fast path. This is not a new idea, as it's being used in the sanitizer_common 64-bit primary. The difference here is that it is configurable via the allocator config, with the possibility of not compacting at all. This CL enables compacting pointers in the Android and Fuchsia default configurations. Differential Revision: https://reviews.llvm.org/D96435
- Loading branch information
Kostya Kortchinsky
committed
Feb 25, 2021
1 parent
ec4408a
commit 2c56776
Showing
9 changed files
with
177 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.