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

Emscripten: Remove no-longer-needed minimum emmalloc alignment #891

Merged
merged 1 commit into from
May 11, 2024

Conversation

kripken
Copy link
Contributor

@kripken kripken commented May 7, 2024

emscripten-core/emscripten#20704 removed the maximum alignment limit from emmalloc, so we no longer need it in the mimalloc port. Without it, we can properly use the 4GB-aligned pages that mimalloc requests.

(Emscripten-side testing in emscripten-core/emscripten#21905)

@daanx daanx merged commit f35355b into microsoft:dev May 11, 2024
18 checks passed
@daanx
Copy link
Collaborator

daanx commented May 11, 2024

Ah, this is great. The previous approach lead to mimalloc always re-requesting with overallocation so this is much better.

@kripken kripken deleted the no.min branch May 11, 2024 15:14
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

Successfully merging this pull request may close these issues.

2 participants