Add the "arenas.purge" mallctl.

This commit is contained in:
Jason Evans
2010-09-30 16:55:08 -07:00
parent 075e77cad4
commit 6005f0710c
4 changed files with 68 additions and 12 deletions

View File

@@ -38,7 +38,7 @@
.\" @(#)malloc.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD: head/lib/libc/stdlib/malloc.3 182225 2008-08-27 02:00:53Z jasone $
.\"
.Dd September 17, 2010
.Dd September 30, 2010
.Dt JEMALLOC 3
.Os
.Sh NAME
@@ -1185,6 +1185,12 @@ Total number of large size classes.
Maximum size supported by this large size class.
.Ed
.\"-----------------------------------------------------------------------------
.It Sy "arenas.purge (unsigned) -w"
.Bd -ragged -offset indent -compact
Purge unused dirty pages for the specified arena, or for all arenas if none is
specified.
.Ed
.\"-----------------------------------------------------------------------------
@roff_prof@.It Sy "prof.active (bool) rw"
@roff_prof@.Bd -ragged -offset indent -compact
@roff_prof@Control whether sampling is currently active.