Repository navigation
Mimallocv3 upstream fixes - #159863
Draft
DinoV wants to merge 25 commits into
Draft
Mimallocv3 upstream fixes#159863DinoV wants to merge 25 commits into
DinoV wants to merge 25 commits into
Conversation
This reverts commit fbe3cfe.
Sync Objects/mimalloc and Include/internal/mimalloc with microsoft/mimalloc dev3 (e34c9d38, "fix qsbr tests") plus the CPython-motivated fixes that are being proposed upstream, replacing the local edits previously made directly to the vendored copy: - Put mi_decl_forceinline before the return type (-Wold-style-declaration) - Fix MI_ARENA_SLICE_SHIFT selection on WASI - Use quoted, relative includes for mimalloc's own headers - Fix debug assertion during process init with MI_WIN_INIT_USE_FLS - Mark memory written by raw syscalls as initialized under MSan - Emscripten: allocate OS memory from the builtin allocator - Allow disabling the aligned-allocation fallback warning (MI_NO_ALIGN_FALLBACK_WARNING) - Allow not defining the weak std::get_new_handler in C builds (MI_NO_CXX_NEW_HANDLER) - Fix build with MI_NO_THP after the MADV_NOHUGEPAGE change - Fix -Wsign-compare warning when reading hpage_pmd_size - Remove trailing whitespace This also picks up the dev3 commits since the previous snapshot (e83c5605), including transparent huge page detection changes, allowing page abandonment for QSBR pages, and relaxed atomics in mi_free_block_mt. Define MI_NO_ALIGN_FALLBACK_WARNING in pycore_mimalloc.h, since the vendored copy no longer has the warning commented out.
|
The following commit authors need to sign the Contributor License Agreement: |
Documentation build overview
|
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.
No description provided.