Skip to content

Phase 1a: vendor mimalloc-pprof and make it reld's Linux allocator #94

Closed

Description

@zackees

Parent: #92

Implement the pinned, git-backed zackees/mimalloc-pprof source under _vendor/ and wire reld's Linux executable to use it by default without crates.io.

Requirements:

  • Pin the exact upstream revision and record license/update procedure.
  • Release/default path must compile the profiler hooks out (MI_PPROF=OFF) unless measurements prove otherwise.
  • Preserve explicit system-allocator and profiling-enabled configurations.
  • Add focused configuration/tests, but do not claim performance in this PR.
  • Satisfy DESIGN.md §3.1 with local and bosn validation before merge.
  • Update the Linux platform guide.
  • One validated PR; close this issue on merge.

Activity

  1. zackees commented on Aug 26, 2026

    @zackees
    CollaboratorAuthor

    Allocator-policy clarification from the developer: reld must always use either vendored mimalloc-pprof or DHAT. Implement a single compile-time selection with DHAT taking precedence when its feature is enabled; otherwise mimalloc-pprof is the global allocator. There is no supported new-build system-allocator mode. Use the pinned pre-change reld revision as the system-allocator performance/artifact baseline for Phase 1b. This supersedes the issue body's request to preserve an explicit system-allocator configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions