diff options
author | ian <ian@FreeBSD.org> | 2013-01-26 21:29:45 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2013-01-26 21:29:45 +0000 |
commit | fc60ef94da43c5c4218e21f42aa2769c13b89e37 (patch) | |
tree | d91fe0e28b1b64e1a8fe2375c1e1b7154ccef86e /sys/cddl | |
parent | dc3eff401fd8f122ed908c7be997eeb928fa85ba (diff) | |
download | FreeBSD-src-fc60ef94da43c5c4218e21f42aa2769c13b89e37.zip FreeBSD-src-fc60ef94da43c5c4218e21f42aa2769c13b89e37.tar.gz |
Reduce watchdogd's memory footprint when running daemonized.
This uses the recently-added jemalloc(3) feature of setting the lg_chunk
tuning option to zero to request that memory be allocated in the smallest
chunks possible. Without this option, the default is to initally map 8MB,
and then the mlockall() call wires that entire allocation even though the
program only uses a few Kbytes of it at runtime.
PR: bin/173332
Approved by: cognet (mentor)
Diffstat (limited to 'sys/cddl')
0 files changed, 0 insertions, 0 deletions