mirror of
https://github.com/python/cpython.git
synced 2025-10-24 23:46:23 +00:00
gh-112027: Don't print mimalloc warning after mmap This changes the warning to a "verbose"-level message in prim.c. The address passed to mmap is only a hint -- it's normal for mmap() to sometimes not respect the hint and return a different address. |
||
|---|---|---|
| .. | ||
| osx | ||
| unix | ||
| wasi | ||
| windows | ||
| prim.c | ||
| readme.md | ||
Portability Primitives
This is the portability layer where all primitives needed from the OS are defined.
include/mimalloc/prim.h: primitive portability API definition.prim.c: Selects one ofunix/prim.c,wasi/prim.c, orwindows/prim.cdepending on the host platform (and on macOS,osx/prim.cdefers tounix/prim.c).
Note: still work in progress, there may still be places in the sources that still depend on OS ifdef's.