diff options
author | Fabio D'Urso <fdurso@google.com> | 2024-04-19 21:27:53 +0200 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-04-19 12:34:48 -0700 |
commit | 04c08798ae3feb87eb97497c28d91103bcaf8639 (patch) | |
tree | 54898d2775a9b6b6a8dc34c411ea5a1b08ee5447 | |
parent | 9b638c8c43b3690db17d3a2c224226cf2f04d4bd (diff) | |
download | scudo-04c08798ae3feb87eb97497c28d91103bcaf8639.tar.gz |
Sync FuchsiaConfig with downstream's custom_scudo_config.h (#89244)
Downstream disabled EnableContiguousRegions on RISCV-64 to avoid
running out of virtual memory, but our tests still use the internal
FuchsiaConfig class, which therefore needs to be changed too.
GitOrigin-RevId: adc11b34b1d7f99b3931f945073a652f0dec5aaf
Change-Id: Ia645c9e24ad750f21c1691c7f21440071d8fc055
-rw-r--r-- | standalone/allocator_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/standalone/allocator_config.h b/standalone/allocator_config.h index 1e0cf1015ba..60f59bdd2f4 100644 --- a/standalone/allocator_config.h +++ b/standalone/allocator_config.h @@ -146,6 +146,7 @@ struct FuchsiaConfig { // Support 39-bit VMA for riscv-64 static const uptr RegionSizeLog = 28U; static const uptr GroupSizeLog = 19U; + static const bool EnableContiguousRegions = false; #else static const uptr RegionSizeLog = 30U; static const uptr GroupSizeLog = 21U; |