Module Name: src
Committed By: wiz
Date: Tue Jul 28 09:52:43 UTC 2015
Modified Files:
src/share/man/man9: kmem.9
Log Message:
Use more Dv.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/share/man/man9/kmem.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/kmem.9
diff -u src/share/man/man9/kmem.9:1.16 src/share/man/man9/kmem.9:1.17
--- src/share/man/man9/kmem.9:1.16 Tue Jul 28 09:51:42 2015
+++ src/share/man/man9/kmem.9 Tue Jul 28 09:52:43 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: kmem.9,v 1.16 2015/07/28 09:51:42 wiz Exp $
+.\" $NetBSD: kmem.9,v 1.17 2015/07/28 09:52:43 wiz Exp $
.\"
.\" Copyright (c)2006 YAMAMOTO Takashi,
.\" All rights reserved.
@@ -74,10 +74,10 @@ Specify the size of allocation in bytes.
.It Fa kmflags
Either of the following:
.Bl -tag -width KM_NOSLEEP
-.It KM_SLEEP
+.It Dv KM_SLEEP
If the allocation cannot be satisfied immediately, sleep until enough
memory is available.
-.It KM_NOSLEEP
+.It Dv KM_NOSLEEP
Don't sleep.
Immediately return
.Dv NULL
@@ -261,7 +261,9 @@ a read/write overflow therefore triggers
.It
Underflow at
.Fn kmem_free ,
-by using KMEM_SIZE's registered size.
+by using
+.Dv KMEM_SIZE Ap s
+registered size.
If an underflow occurs, the size stored by
.Dv KMEM_SIZE
will be overwritten, which means that when freeing, the kernel will