Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2025 22:59:09 +0000
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Minsoo Choo <minsoochoo0122@proton.me>
Subject:   git: 020e15a9012d - releng/15.0 - jemalloc: apply freebsd changes to jemalloc 5.3.0 man page
Message-ID:  <692634bd.39af2.be12f4f@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch releng/15.0 has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=020e15a9012dd87b90b902305c5ee2a83be3f4f9

commit 020e15a9012dd87b90b902305c5ee2a83be3f4f9
Author:     Minsoo Choo <minsoochoo0122@proton.me>
AuthorDate: 2025-11-17 18:48:15 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-11-25 22:58:58 +0000

    jemalloc: apply freebsd changes to jemalloc 5.3.0 man page
    
    Approved by:    re (cperciva)
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/1890
    
    (cherry picked from commit 80ec82aba9ae7286cac1a4f8000262cf2cf34d0c)
    (cherry picked from commit cbe0ccde6657be75c820efa37443d5e3c09b9993)
---
 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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?692634bd.39af2.be12f4f>