Mesh icon indicating copy to clipboard operation
Mesh copied to clipboard

MeshableArena: MADV_FREE indirection table

Open bpowers opened this issue 6 years ago • 1 comments

Related to #37 and #40, we write the 32-bit MiniHeapID into _mhIndex -- for a 28 GB allocation, that is 3 MB of metadata. When large allocations like this are freed, we should MADV_FREE this metadata.

Similarly, we should be able to do something similar for the CheapHeaps we use for internal allocations.

bpowers avatar Mar 11 '19 05:03 bpowers

I wonder if this is still planned. Any news?

dumblob avatar Dec 16 '21 11:12 dumblob