summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2011-07-05 23:42:44 +0000
committertedu <tedu@openbsd.org>2011-07-05 23:42:44 +0000
commitdfc0e47176ae5759713213e4513f59c01cd2d6e6 (patch)
treed010076014880b876835d8302c959526bf4e40e2
parentfix memset sizeof, found by jsg. ok krw (diff)
downloadwireguard-openbsd-dfc0e47176ae5759713213e4513f59c01cd2d6e6.tar.xz
wireguard-openbsd-dfc0e47176ae5759713213e4513f59c01cd2d6e6.zip
a short note about PR_DEBUGCHK
-rw-r--r--share/man/man9/pool.98
1 files changed, 6 insertions, 2 deletions
diff --git a/share/man/man9/pool.9 b/share/man/man9/pool.9
index 1d9889fdc59..8cce8e2ce58 100644
--- a/share/man/man9/pool.9
+++ b/share/man/man9/pool.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pool.9,v 1.41 2010/03/08 21:56:17 oga Exp $
+.\" $OpenBSD: pool.9,v 1.42 2011/07/05 23:42:44 tedu Exp $
.\" $NetBSD: pool.9,v 1.18 2001/06/21 11:59:01 wiz Exp $
.\"
.\" Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 8 2010 $
+.Dd $Mdocdate: July 5 2011 $
.Dt POOL 9
.Os
.Sh NAME
@@ -327,6 +327,10 @@ See
.Xr malloc 9
for more information about
.Dv MALLOC_DEBUG .
+Alternatively, the
+.Dv PR_DEBUGCHK
+flag can be passed to enable pool internal consistency checks before and
+after each allocation and free.
.Sh CODE REFERENCES
The pool manager is implemented in the file
.Pa sys/kern/subr_pool.c .