Repository navigation
feat(sys): add free_use_pagemap feature - #109
Merged
Merged
Conversation
Member
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Merged
Brooooooklyn
pushed a commit
that referenced
this pull request
Oct 24, 2026
## 🤖 New release * `libmimalloc-sys2`: 0.1.63 -> 0.1.64 (✓ API compatible changes) * `mimalloc-safe`: 0.1.67 -> 0.1.68 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> ## `libmimalloc-sys2` <blockquote> ## [0.1.64] - 2026-10-24 ### Features - *(sys)* Add free_use_pagemap feature ([#109](#109)) ### Chore - *(deps)* Update mimalloc3 to v3.6.0 ([#110](#110)) </blockquote> ## `mimalloc-safe` <blockquote> ## [0.1.68] - 2026-10-24 ### Features - *(sys)* Add free_use_pagemap feature ([#109](#109)) ### Bug Fixes - *(ci)* Locate armv7 GCC runtime when using Clang ([#111](#111)) ### Chore - *(deps)* Update mimalloc3 to v3.6.0 ([#110](#110)) - *(deps)* Update emnapi to v2.0.0-beta.2 ([#108](#108)) - *(deps)* Update yarn to v4.18.1 ([#107](#107)) - *(deps)* Update dependency @napi-rs/cli to v3.10.9 ([#103](#103)) - *(deps)* Update dependency @napi-rs/cli to v3.10.9 ([#114](#114)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
free_use_pagemapfeature that builds mimalloc v3 withMI_FREE_USE_PAGEMAP=1(cmake and Windows MSVC builds). It has no effect on v2.Why
Since mimalloc 3.5.0, objects larger than 256 MiB no longer fit in arenas (
mi_arena_max_fixed_object_size(), previously ~16 GiB). Each such allocation becomes a freshmmap/munmap. Building withMI_FREE_USE_PAGEMAPlifts the cap, and no runtime option can.In EDR, trace buffers grow past 256 MiB. Upgrading to
mimalloc-safe0.1.67 (mimalloc 3.5.2) regressed one benchmark:MI_FREE_USE_PAGEMAP=1We currently pass the define through
CFLAGS/CXXFLAGS. AnyCFLAGSset in the environment silently overrides it, so a feature flag is more reliable.