summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2016-09-15 06:11:14 +0000
committerjmc <jmc@openbsd.org>2016-09-15 06:11:14 +0000
commit4efd9ef6561e09c3c51f75460eba0902439d48d1 (patch)
treea511c8449bb78d60a827ce496d40b070e25808e9
parentadd RBT_POISON and RBT_CHECK so you can poison the pointers in RBT_ENTRYs (diff)
downloadwireguard-openbsd-4efd9ef6561e09c3c51f75460eba0902439d48d1.tar.xz
wireguard-openbsd-4efd9ef6561e09c3c51f75460eba0902439d48d1.zip
some pool_setipl mop up; ok dlg
-rw-r--r--share/man/man9/dma_alloc.96
-rw-r--r--share/man/man9/pool.95
2 files changed, 5 insertions, 6 deletions
diff --git a/share/man/man9/dma_alloc.9 b/share/man/man9/dma_alloc.9
index 2d6ade2bd85..e9357711774 100644
--- a/share/man/man9/dma_alloc.9
+++ b/share/man/man9/dma_alloc.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dma_alloc.9,v 1.6 2013/06/04 19:27:05 schwarze Exp $
+.\" $OpenBSD: dma_alloc.9,v 1.7 2016/09/15 06:11:14 jmc Exp $
.\" $NetBSD: pool.9,v 1.18 2001/06/21 11:59:01 wiz Exp $
.\"
.\" Copyright (c) 2011 Theo de Raadt
@@ -16,7 +16,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 4 2013 $
+.Dd $Mdocdate: September 15 2016 $
.Dt DMA_ALLOC 9
.Os
.Sh NAME
@@ -48,7 +48,7 @@ using other DMA-safe allocators.
Interrupt protection is set to
.Va IPL_VM
using
-.Xr pool_setipl 9 .
+.Xr pool_init 9 .
.Pp
The
.Ar flags
diff --git a/share/man/man9/pool.9 b/share/man/man9/pool.9
index 5dd4f35ee7b..9e41b03dad6 100644
--- a/share/man/man9/pool.9
+++ b/share/man/man9/pool.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pool.9,v 1.53 2016/09/15 02:00:16 dlg Exp $
+.\" $OpenBSD: pool.9,v 1.54 2016/09/15 06:11:14 jmc Exp $
.\" $NetBSD: pool.9,v 1.18 2001/06/21 11:59:01 wiz Exp $
.\"
.\" Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -291,7 +291,6 @@ code to be reentered.
.Fn pool_init ,
.Fn pool_destroy ,
.Fn pool_prime ,
-.Fn pool_setipl ,
.Fn pool_sethiwat ,
.Fn pool_setlowat ,
and
@@ -305,7 +304,7 @@ can be called during autoconf or from process context.
If the pool has been initialised with an interrupt safe pool allocator
they can also be called from interrupt context at or below the
interrupt level specified by a call to
-.Fn pool_setipl .
+.Fn pool_init .
.Sh RETURN VALUES
.Fn pool_get
will return a pointer to an item allocated from the pool.