The M_ARENA_MAX and M_ARENA_TEST macros are defined in malloc.c as
well as malloc.h, and the former is unnecessary. This patch removes
the duplicate. Tested on x86_64 to verify that the generated code
remains unchanged barring changed line numbers to __malloc_assert.
* malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
+ * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
+
* manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
(M_TRIM_THRESHOLD): Likewise.
.arena_test = NARENAS_FROM_NCORES (1)
};
-
-#define M_ARENA_TEST -7
-#define M_ARENA_MAX -8
-
-
/* Maximum size of memory handled in fastbins. */
static INTERNAL_SIZE_T global_max_fast;