Skip to content

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

Merged
daanx merged 1 commit intomicrosoft:devfrom
kripken:no.min
May 11, 2024
Merged

Emscripten: Remove no-longer-needed minimum emmalloc alignment#891
daanx merged 1 commit intomicrosoft:devfrom
kripken:no.min

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
@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