musl/src/malloc
Rich Felker e5d78fe8df fix issue with excessive mremap syscalls on realloc
CHUNK_SIZE macro was defined incorrectly and shaving off at least one
significant bit in the size of mmapped chunks, resulting in the test
for oldlen==newlen always failing and incurring a syscall. fortunately
i don't think this issue caused any other observable behavior; the
definition worked correctly for all non-mmapped chunks where its
correctness matters more, since their lengths are always multiples of
the alignment.
2011-11-16 23:59:28 -05:00
..
__brk.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
calloc.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
DESIGN initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
lite_malloc.c rename __simple_malloc.c to lite_malloc.c - yes this affects behavior! 2011-03-30 09:29:49 -04:00
malloc.c fix issue with excessive mremap syscalls on realloc 2011-11-16 23:59:28 -05:00
memalign.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
posix_memalign.c posix_memalign should fail if size is not a multiple of sizeof(void *) 2011-06-29 19:26:30 -04:00