From: dlg Date: Thu, 22 Jun 2017 02:30:34 +0000 (+0000) Subject: items get returns to pools with pool_put, not pool_get. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=210366b9d6be2762cf3e4760695fc9aa7805f373;p=openbsd items get returns to pools with pool_put, not pool_get. --- 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 .\" @@ -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.