Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MeshableArena: MADV_FREE indirection table #41

Open
bpowers opened this issue Mar 11, 2019 · 1 comment
Open

MeshableArena: MADV_FREE indirection table #41

bpowers opened this issue Mar 11, 2019 · 1 comment

Comments

@bpowers
Copy link
Member

bpowers commented Mar 11, 2019

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 bpowers changed the title GlobalHeap/MeshableArena: scavenge should MADV_FREE indirection table GlobalHeap/MeshableArena: MADV_FREE indirection table Mar 11, 2019
@bpowers bpowers changed the title GlobalHeap/MeshableArena: MADV_FREE indirection table MeshableArena: MADV_FREE indirection table Mar 11, 2019
@dumblob
Copy link

dumblob commented Dec 16, 2021

I wonder if this is still planned. Any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants