[compiler-rt] [scudo] Avoid splitting aligned allocations on Trusty (PR #69281)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 11:35:17 PST 2024


ChiaHungDuan wrote:

> > It's still possible if trusty requests more than 4 pages.
> 
> If you mean that Trusty can request more than 4 pages and we should still apply the original optimization there, I don't know exactly how that would work. On Trusty, we can't split the mapping past `AllocPos`.
> 
> Maybe we could make this configurable at either build or run time?

Sorry, I mean it's still different from trusty's case. We can do it like this now. Once we fix the logic in the other path, let's review trusty's case at that moment

https://github.com/llvm/llvm-project/pull/69281


More information about the llvm-commits mailing list