Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 Update pool_prime description to match change...



details:   https://anonhg.NetBSD.org/src/rev/b0f24886a12e
branches:  trunk
changeset: 581537:b0f24886a12e
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu Jun 02 11:42:16 2005 +0000

description:
Update pool_prime description to match change in v1.55 of kern/subr_pool.c
(from 2001).
Noted by go@, no comment to diff for over a month from thorpej@.

diffstat:

 share/man/man9/pool.9 |  17 +++++------------
 1 files changed, 5 insertions(+), 12 deletions(-)

diffs (53 lines):

diff -r 28354aa29251 -r b0f24886a12e share/man/man9/pool.9
--- a/share/man/man9/pool.9     Thu Jun 02 11:38:28 2005 +0000
+++ b/share/man/man9/pool.9     Thu Jun 02 11:42:16 2005 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pool.9,v 1.36 2005/02/02 17:13:08 wiz Exp $
+.\"    $NetBSD: pool.9,v 1.37 2005/06/02 11:42:16 wiz Exp $
 .\"
 .\" Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -34,7 +34,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 2, 2005
+.Dd April 28, 2005
 .Dt POOL 9
 .Os
 .Sh NAME
@@ -65,7 +65,7 @@
 .Ft void
 .Fn pool_put "struct pool *pp" "void *item"
 .Ft int
-.Fn pool_prime "struct pool *pp" "int nitems" "caddr_t storage"
+.Fn pool_prime "struct pool *pp" "int nitems"
 .Ft void
 .Fn pool_sethiwat "struct pool *pp" "int n"
 .Ft void
@@ -202,14 +202,9 @@
 .Ss PRIMING A POOL
 .Fn pool_prime
 adds items to the pool.
-Storage space for the items is either allocated by using the page allocation
+Storage space for the items is allocated by using the page allocation
 routine specified to
-.Fn pool_create ,
-or provided to
-.Fn pool_prime
-by the caller through the
-.Fa storage
-parameter.
+.Fn pool_create .
 .Pp
 The arguments to
 .Fn pool_prime
@@ -219,8 +214,6 @@
 The handle identifying the pool resource instance.
 .It Fa nitems
 The number of items to add to the pool.
-.It Fa storage
-Optional pre-allocated storage.
 .El
 .Pp
 This function may return



Home | Main Index | Thread Index | Old Index