Change macOS mmap tag to fix conflict with CoreMedia
Tag 101 is assigned to "CoreMedia Capture Data", 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
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@
|
||||
#include <sys/bitops.h> /* ilog2 */
|
||||
#endif
|
||||
#ifdef JEMALLOC_HAVE_VM_MAKE_TAG
|
||||
#define PAGES_FD_TAG VM_MAKE_TAG(101U)
|
||||
#define PAGES_FD_TAG VM_MAKE_TAG(254U)
|
||||
#else
|
||||
#define PAGES_FD_TAG -1
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user