The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=80ec82aba9ae7286cac1a4f8000262cf2cf34d0c
commit 80ec82aba9ae7286cac1a4f8000262cf2cf34d0c Author: Minsoo Choo <[email protected]> AuthorDate: 2025-11-17 18:48:15 +0000 Commit: Warner Losh <[email protected]> CommitDate: 2025-11-25 18:17:26 +0000 jemalloc: apply freebsd changes to jemalloc 5.3.0 man page Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1890 --- lib/libc/stdlib/malloc/jemalloc/jemalloc.3 | 32 +++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/lib/libc/stdlib/malloc/jemalloc/jemalloc.3 b/lib/libc/stdlib/malloc/jemalloc/jemalloc.3 index 6d905c815ef4..1c99352a6ae2 100644 --- a/lib/libc/stdlib/malloc/jemalloc/jemalloc.3 +++ b/lib/libc/stdlib/malloc/jemalloc/jemalloc.3 @@ -33,11 +33,24 @@ jemalloc \- general purpose memory allocation functions .PP This manual describes jemalloc 5\&.3\&.0\-0\-g54eaed1d8b56b1aa528be3bdd1877e59c56fa90c\&. More information can be found at the \m[blue]\fBjemalloc website\fR\m[]\&\s-2\u[1]\d\s+2\&. +.PP +The following configuration options are enabled in libc\*(Aqs built\-in jemalloc: +\fB\-\-enable\-fill\fR, +\fB\-\-enable\-lazy\-lock\fR, +\fB\-\-enable\-stats\fR, +\fB\-\-enable\-utrace\fR, +\fB\-\-enable\-xmalloc\fR, and +\fB\-\-with\-malloc\-conf=abort_conf:false\fR\&. Additionally, +\fB\-\-enable\-debug\fR +is enabled in development versions of FreeBSD (controlled by the +\fBMK_MALLOC_PRODUCTION\fR +make variable)\&. .SH "SYNOPSIS" .sp .ft B .nf -#include <jemalloc/jemalloc\&.h> +#include <stdlib\&.h> +#include <malloc_np\&.h> .fi .ft .SS "Standard API" @@ -2665,6 +2678,23 @@ functions conform to ISO/IEC 9899:1990 (\(lqISO C90\(rq)\&. The posix_memalign() function conforms to IEEE Std 1003\&.1\-2001 (\(lqPOSIX\&.1\(rq)\&. +.SH "HISTORY" +.PP +The +malloc_usable_size() +and +posix_memalign() +functions first appeared in FreeBSD 7\&.0\&. +.PP +The +aligned_alloc(), +malloc_stats_print(), and +mallctl*() +functions first appeared in FreeBSD 10\&.0\&. +.PP +The +*allocx() +functions first appeared in FreeBSD 11\&.0\&. .SH "AUTHOR" .PP \fBJason Evans\fR
