Index | Thread | Search

From:
Dave Voutila <dv@sisu.io>
Subject:
update pool_sethardlimit in pool.9
To:
tech@openbsd.org
Cc:
mvs@openbsd.org
Date:
Sun, 26 Oct 2025 13:06:08 -0400

Download raw body.

Thread
Looks like mvs@ removed these arguments a few months ago.

ok?

-dv

diff c1e59316ede7ec393e35134268a96a83f3449d4d refs/heads/vmm-fd-lifecycle
commit - c1e59316ede7ec393e35134268a96a83f3449d4d
commit + 0ba08f5073ccfa6385a58896559f8fe88544e90d
blob - 7880076e94328b85f57a39a9090d1bfb03c67d75
blob + 26f8272a545e46542d54b3451e909de83f4d4a9a
--- share/man/man9/pool.9
+++ share/man/man9/pool.9
@@ -72,8 +72,6 @@
 .Fo pool_sethardlimit
 .Fa "struct pool *pp"
 .Fa "unsigned n"
-.Fa "const char *warnmess"
-.Fa "int ratecap"
 .Fc
 .Sh DESCRIPTION
 These utility routines provide management of pools of fixed-sized
@@ -283,11 +281,6 @@ The function
 sets a hard limit on the pool to
 .Fa n
 items.
-If the hard limit is reached
-.Fa warnmess
-will be printed to the console, but no more than every
-.Fa ratecap
-seconds.
 Upon successful completion, a value of 0 is returned.
 The value EINVAL is returned when the current size of the pool
 already exceeds the requested hard limit.