diff options
author | Rich Felker <dalias@aerifal.cx> | 2020-06-29 17:41:24 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2020-06-29 17:42:53 -0400 |
commit | 785752a595ddd382396363f8aa237d1246ed5764 (patch) | |
tree | efb33e55bfe427ba666832a032c53cff0c131544 /src/malloc/mallocng/README.mallocng | |
parent | fdf8b2ad9c5ae6adf3a91c0043eb898badee46d1 (diff) | |
download | musl-785752a595ddd382396363f8aa237d1246ed5764.tar.gz |
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.
Diffstat (limited to 'src/malloc/mallocng/README.mallocng')
-rw-r--r-- | src/malloc/mallocng/README.mallocng | 13 |
1 files changed, 13 insertions, 0 deletions
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. |