freebsd-dev/libexec/rtld-elf
Brooks Davis 389154096a Remove remnants of optimization for > pagesize allocations.
In the past, this allocator seems to have allocated things larger than
a page seperately. Much of this code was removed at some point (perhaps
along with sbrk() used) so remove the rest. Instead, keep allocating in
power-of-two bins up to FIRST_BUCKET_SIZE << (NBUCKETS - 1). If we want
something more efficent, we should use a fancier allocator.

While here, remove some vestages of sbrk() use. Most importantly, don't
try to page align the pagepool since it's always page aligned by mmap().

Reviewed by:	kib
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D21453
2019-09-02 08:03:29 +00:00
..
aarch64
amd64
arm
i386
mips
powerpc
powerpc64
riscv
rtld-libc rtld-elf: fix build with xtoolchain-llvm90 2019-08-15 17:35:24 +00:00
sparc64
tests
debug.c
debug.h
libmap.c
libmap.conf
libmap.h
Makefile
Makefile.depend
map_object.c
paths.h
rtld_lock.c
rtld_lock.h
rtld_malloc.c Remove remnants of optimization for > pagesize allocations. 2019-09-02 08:03:29 +00:00
rtld_malloc.h
rtld_printf.c
rtld_printf.h
rtld_tls.h
rtld_utrace.h
rtld.1
rtld.c
rtld.h
Symbol.map
xmalloc.c