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

Deprioritize extents that are used for Huge allocations. #373

Open
deadalnix opened this issue Jul 18, 2024 · 0 comments
Open

Deprioritize extents that are used for Huge allocations. #373

deadalnix opened this issue Jul 18, 2024 · 0 comments
Labels

Comments

@deadalnix
Copy link
Contributor

These extent may end up fragmenting the heap when the huge allocation is freed, but other allocation remain on the block. If another huge allocation of the same size were to be made, it wouldn't be possible to put it in the same spot.

For this reason, we ought to make blocks that are (or were) part of huge allocations the lowest priority possible.

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

No branches or pull requests

1 participant