mimalloc icon indicating copy to clipboard operation
mimalloc copied to clipboard

Change macOS mmap tag to fix conflict with IOAccelerator

Open kdrag0n opened this issue 1 year ago • 0 comments

Tag 100 is assigned to "IOAccelerator" (the GPU driver stack on Apple silicon), which makes for confusing output when debugging.

To avoid conflicts, use a tag in the reserved application-specific range from 240–255 (inclusive).

All assigned tags: https://github.com/apple-oss-distributions/xnu/blob/94d3b452840153a99b38a3a9659680b2a006908e/osfmk/mach/vm_statistics.h#L773-L775

kdrag0n avatar Jun 10 '24 22:06 kdrag0n