summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2017-06-22 02:30:34 +0000
committerdlg <dlg@openbsd.org>2017-06-22 02:30:34 +0000
commit210366b9d6be2762cf3e4760695fc9aa7805f373 (patch)
tree67c01ecbd6f72cb2d7c726f70fa9856f2a7ade99
parentOnly print the magic '&' letter on a disk if the hibernate partition is (diff)
downloadwireguard-openbsd-210366b9d6be2762cf3e4760695fc9aa7805f373.tar.xz
wireguard-openbsd-210366b9d6be2762cf3e4760695fc9aa7805f373.zip
items get returns to pools with pool_put, not pool_get.
-rw-r--r--share/man/man9/pool_cache_init.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/pool_cache_init.9 b/share/man/man9/pool_cache_init.9
index 424c426cfe3..a7c11c65411 100644
--- a/share/man/man9/pool_cache_init.9
+++ b/share/man/man9/pool_cache_init.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pool_cache_init.9,v 1.5 2017/06/20 04:37:17 jmatthew Exp $
+.\" $OpenBSD: pool_cache_init.9,v 1.6 2017/06/22 02:30:34 dlg Exp $
.\"
.\" Copyright (c) 2017 David Gwynne <dlg@openbsd.org>
.\"
@@ -14,7 +14,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 20 2017 $
+.Dd $Mdocdate: June 22 2017 $
.Dt POOL_CACHE_INIT 9
.Os
.Sh NAME
@@ -52,7 +52,7 @@ on all the free lists in the subsystem back to the normal pool
allocator, and finally frees the per CPU data structures.
.Pp
Once per CPU caches are enabled, items returned to a pool with
-.Xr pool_get 9
+.Xr pool_put 9
are placed on the current CPU's active free list.
If the active list becomes full, it becomes the inactive list and
a new active list is initialised for the free item to go on.