freebsd-skq/libexec/rtld-elf
trasz 9bb62d136f Increase rtld initial memory pool size from 32kB to 128kB.
The old value was probably fine back in 1998, when that code was imported
(although the comments still mention VAX, which was quite obsolete by then);
now, however, it's too small to handle our libc, which results in some
additional calls to munmap/mmap later on.  Asking for more virtual address
space is virtually free, and syscalls are not, thus the change.

It was suggested by kib@ that this might be a symptom of a deeper problem.
It doesn't only affect libc, though - the change also improves rtld memory
management for eg KDE libraries.  I guess it's just a natural bloat.

MFC after:	2 weeks
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D12834
2017-11-18 13:21:22 +00:00
..
aarch64 Implement LD_BIND_NOT knob for rtld. 2017-03-15 21:11:57 +00:00
amd64 Implement LD_BIND_NOT knob for rtld. 2017-03-15 21:11:57 +00:00
arm End softfp->hardfp transition period for arm 2017-09-12 17:06:35 +00:00
i386 Implement LD_BIND_NOT knob for rtld. 2017-03-15 21:11:57 +00:00
mips Appease old GCC by disabling .cfi_sections for GCC 4.x. 2017-11-14 17:16:03 +00:00
powerpc rtld: fix warnings about redundant declarations 2017-05-26 15:55:03 +00:00
powerpc64 rtld: fix warnings about redundant declarations 2017-05-26 15:55:03 +00:00
riscv Support for v1.10 (latest) of RISC-V privilege specification. 2017-08-10 14:18:09 +00:00
sparc64 Implement LD_BIND_NOT knob for rtld. 2017-03-15 21:11:57 +00:00
tests DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
debug.c Do not call callbacks for dl_iterate_phdr(3) with the rtld bind and 2016-01-20 07:21:33 +00:00
debug.h
libmap.c Plug memory leak on error case. 2017-10-29 12:07:27 +00:00
libmap.h
Makefile Compile reloc.o with -fno-jump-tables on MIPS. 2017-08-30 20:00:15 +00:00
Makefile.depend
malloc.c Increase rtld initial memory pool size from 32kB to 128kB. 2017-11-18 13:21:22 +00:00
map_object.c Use address space guard to implement inter-segment gap. 2017-06-24 17:04:27 +00:00
paths.h Convert casperd(8) daemon to the libcasper. 2016-02-25 18:23:40 +00:00
rtld_lock.c Fix acquisition of nested write compat rtld locks. 2017-01-10 19:26:55 +00:00
rtld_lock.h
rtld_printf.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rtld_printf.h
rtld_tls.h
rtld_utrace.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
rtld.1 Add serial comma. 2017-09-01 16:56:37 +00:00
rtld.c Remove unneeded calls to access(2) from rtld(1); just call open(2) instead. 2017-10-24 12:56:08 +00:00
rtld.h Handle relocations for newer non-PIC MIPS ABI. 2017-09-12 17:46:30 +00:00
Symbol.map
xmalloc.c