From 785752a595ddd382396363f8aa237d1246ed5764 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 29 Jun 2020 17:41:24 -0400 Subject: add glue code for mallocng merge this includes both an implementation of reclaimed-gap donation from ldso and a version of mallocng's glue.h with namespace-safe linkage to underlying syscalls, integration with AT_RANDOM initialization, and internal locking that's optimized out when the process is single-threaded. --- src/malloc/mallocng/README.mallocng | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/malloc/mallocng/README.mallocng (limited to 'src/malloc/mallocng/README.mallocng') diff --git a/src/malloc/mallocng/README.mallocng b/src/malloc/mallocng/README.mallocng new file mode 100644 index 00000000..da32bf06 --- /dev/null +++ b/src/malloc/mallocng/README.mallocng @@ -0,0 +1,13 @@ +This directory is a skeleton for upcoming merge of musl's new malloc +implementation, mallocng. To use it, drop in copies of or symlinks to +the following files from mallocng: + +- meta.h +- malloc.c +- realloc.c +- free.c +- aligned_alloc.c +- malloc_usable_size.c + +and build with make variable MALLOC_DIR=mallocng in config.mak or on +make command line. -- cgit v1.2.1