[PATCH] D73143: [scudo][standalone] Reduce Android region sizes to 128MB

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 15:18:47 PST 2020


pcc added a comment.

In D73143#1832560 <https://reviews.llvm.org/D73143#1832560>, @eugenis wrote:

> Fallback to a different allocator is hard, because then you need to implement PointerIsMine to redirect to the right allocator in free(), and AFAIK we don't have that in scudo for the larger allocations (i.e. secondary).


If we really wanted to do this, maybe we could use one of the TBI bits (bit 60-63 so as not to collide with MTE) to mark the allocation as belonging to the new allocator.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73143/new/

https://reviews.llvm.org/D73143





More information about the llvm-commits mailing list