Trusty runs in memory constrained environments, with many apps
having only one page (4KB) of heap memory available. However, we
still want to mmap() multiples of PAGE_SIZE at a time.
Additionally, switch Scudo from using sbrk() to mmap().
Paths
| Differential D151968
[scudo] Change configuration for Trusty, use mmap() ClosedPublic Authored by ahomescu on Jun 1 2023, 9:41 PM.
Details Summary Trusty runs in memory constrained environments, with many apps Additionally, switch Scudo from using sbrk() to mmap().
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 2 2023, 4:21 PM Closed by commit rG94407e1bba98: [scudo] Change configuration for Trusty, use mmap() (authored by endbr64, committed by Chia-hungDuan). · Explain WhyJun 5 2023, 11:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 528031 compiler-rt/lib/scudo/standalone/allocator_config.h
compiler-rt/lib/scudo/standalone/size_class_map.h
compiler-rt/lib/scudo/standalone/trusty.cpp
|