aboutsummaryrefslogtreecommitdiff
path: root/sbin/bsdlabel/bsdlabel.c
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2017-11-18 13:21:22 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2017-11-18 13:21:22 +0000
commitef4968d9e7c3b90c1499a32a38fdc34f4da22f41 (patch)
treea5d05b40e684fef05eb247e676e8450a7423f922 /sbin/bsdlabel/bsdlabel.c
parent95197f47ff11839afd791a880394d466fd09eae9 (diff)
downloadsrc-ef4968d9e7c3b90c1499a32a38fdc34f4da22f41.tar.gz
src-ef4968d9e7c3b90c1499a32a38fdc34f4da22f41.zip
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
Notes
Notes: svn path=/head/; revision=325965
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.c')
0 files changed, 0 insertions, 0 deletions