diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2011-07-05 23:42:45 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2011-07-05 23:42:45 +0000 |
commit | 7af325e5303e418c4ce2065a5ef7cd09252c72d0 (patch) | |
tree | b6ea07944b3b839c8d39a710232dc816b0fcf507 | |
parent | f0f96d27999759132dcbc8d2313278e6fca4f96b (diff) |
a short note about PR_DEBUGCHK
-rw-r--r-- | share/man/man9/pool.9 | 8 |
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 . |