microsoft / microsoft/mimalloc

Using mimalloc as system allocator

Open
#648 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
13.4k
Forks
1.2k
Avg merge
4d 45m
Merged PRs (30d)
13

Description

Is `mimalloc` in a state where I could use it as the system allocator?

Haiku is looking at options to replace the current hoard2 allocator in it's `libc` equivalent (`libroot`). I've given it a try, but might be passing the wrong defines/flags to make it work correctly, as I'm running into page faults. Should I be using a 1.x branch instead?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing mimalloc's documented system-allocator integration and the defines or flags used by the Haiku libroot experiment. Compare the attempted setup with the supported branches, including the 1.x branch, and reproduce the page faults. Done means establishing whether mimalloc can be used there and identifying the required configuration or confirming an incompatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.