This is an archive of the discontinued LLVM Phabricator instance.

[msan] Use SizeClassAllocator64 for AArch64
ClosedPublic

Authored by MaskRay on Dec 30 2022, 5:35 PM.

Details

Summary

Now that D137666 requires 48-bit VMA for AArch64, we can switch to
SizeClassAllocator64 for a slightly more efficient allocator
(asan/lsan already switched by default).

It seems that we can pick kSpaceBeg = 0xE00000000000ULL to support both Linux
("app-15") and FreeBSD ("high memory").

Diff Detail

Event Timeline

MaskRay created this revision.Dec 30 2022, 5:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 30 2022, 5:35 PM
MaskRay requested review of this revision.Dec 30 2022, 5:35 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 30 2022, 5:35 PM
vitalybuka accepted this revision.Jan 9 2023, 11:27 AM
This revision is now accepted and ready to land.Jan 9 2023, 11:27 AM
This revision was automatically updated to reflect the committed changes.