Loading...
--- libmalloc/libmalloc-140.1.1/src/base.h
+++ libmalloc/libmalloc-116/src/base.h
@@ -55,11 +55,7 @@
#if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__arm64__)
# define __APPLE_API_PRIVATE
# include <machine/cpu_capabilities.h>
-# if defined(__i386__) || defined(__x86_64__)
-# define _COMM_PAGE_VERSION_REQD 9
-# else
-# define _COMM_PAGE_VERSION_REQD 3
-# endif
+# define _COMM_PAGE_VERSION_REQD 9
# undef __APPLE_API_PRIVATE
#else
# include <sys/sysctl.h>
@@ -114,8 +110,6 @@
#define MALLOC_PURGEABLE (1 << 5)
// call abort() on malloc errors, but not on out of memory.
#define MALLOC_ABORT_ON_CORRUPTION (1 << 6)
-// expanded small-zone free list size (256 slots)
-#define MALLOC_EXTENDED_SMALL_SLOTS (1 << 7)
/*
* msize - a type to refer to the number of quanta of a tiny or small
@@ -127,7 +121,6 @@
typedef unsigned int grain_t; // N.B. wide enough to index all free slots
typedef struct large_entry_s large_entry_t;
typedef struct szone_s szone_t;
-typedef struct rack_s rack_t;
typedef struct magazine_s magazine_t;
typedef int mag_index_t;
typedef void *region_t;