OpenBSD CVS

CVS log for src/share/man/man9/pool.9


[BACK] Up to [local] / src / share / man / man9

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.60 / (download) - annotate - [select for diffs], Mon May 20 11:12:08 2024 UTC (2 weeks, 3 days ago) by jca
Branch: MAIN
CVS Tags: HEAD
Changes since 1.59: +2 -5 lines
Diff to previous 1.59 (colored)

pool_setlowat() may call pool_prime() and thus allocate memory

ok dlg@

Revision 1.59 / (download) - annotate - [select for diffs], Fri Sep 25 14:20:20 2020 UTC (3 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

documentation should say pool_init, not pmap_init

Revision 1.58 / (download) - annotate - [select for diffs], Mon Dec 16 10:25:22 2019 UTC (4 years, 5 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.57: +4 -4 lines
Diff to previous 1.57 (colored)

Cross reference km_alloc(9) which is directly used rather than uvm_init(9).

Revision 1.57 / (download) - annotate - [select for diffs], Fri Dec 6 19:15:16 2019 UTC (4 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

replace links to uvm(9) to uvm_init(9); ok mpi

Revision 1.56 / (download) - annotate - [select for diffs], Mon Aug 14 09:51:35 2017 UTC (6 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

tweak previous;

Revision 1.55 / (download) - annotate - [select for diffs], Sun Aug 13 20:26:33 2017 UTC (6 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.54: +24 -7 lines
Diff to previous 1.54 (colored)

New flag PR_RWLOCK for pool_init(9) makes the pool use rwlocks instead
of mutexes.  Use this immediately for the pool_cache futex pools.

Mostly worked out with dlg@ during e2k17
ok mpi@ tedu@

Revision 1.54 / (download) - annotate - [select for diffs], Thu Sep 15 06:11:14 2016 UTC (7 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.53: +3 -4 lines
Diff to previous 1.53 (colored)

some pool_setipl mop up; ok dlg

Revision 1.53 / (download) - annotate - [select for diffs], Thu Sep 15 02:00:16 2016 UTC (7 years, 8 months ago) by dlg
Branch: MAIN
Changes since 1.52: +9 -26 lines
Diff to previous 1.52 (colored)

all pools have their ipl set via pool_setipl, so fold it into pool_init.

the ioff argument to pool_init() is unused and has been for many
years, so this replaces it with an ipl argument. because the ipl
will be set on init we no longer need pool_setipl.

most of these changes have been done with coccinelle using the spatch
below. cocci sucks at formatting code though, so i fixed that by hand.

the manpage and subr_pool.c bits i did myself.

ok tedu@ jmatthew@

@ipl@
expression pp;
expression ipl;
expression s, a, o, f, m, p;
@@
-pool_init(pp, s, a, o, f, m, p);
-pool_setipl(pp, ipl);
+pool_init(pp, s, a, ipl, f, m, p);

Revision 1.52 / (download) - annotate - [select for diffs], Thu Apr 21 04:09:28 2016 UTC (8 years, 1 month ago) by mlarkin
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.51: +2 -19 lines
Diff to previous 1.51 (colored)


Remove some incorrect and outdated references to pool debugging from pool.h
and pool(9) manpage

ok dlg

Revision 1.51 / (download) - annotate - [select for diffs], Mon Nov 23 17:53:57 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

add missing NAME entries;
feedback/ok schwarze

Revision 1.50 / (download) - annotate - [select for diffs], Sun Sep 6 16:52:20 2015 UTC (8 years, 9 months ago) by kettenis
Branch: MAIN
Changes since 1.49: +16 -9 lines
Diff to previous 1.49 (colored)

Remove some lies and document that passing the PR_WAITOK flag to pmap_init(9)
is the new way to request a non-interrupt-safe backend allocator.

ok jmc@, deraadt@

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jul 2 05:48:38 2014 UTC (9 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.48: +6 -6 lines
Diff to previous 1.48 (colored)

tweak previous;

Revision 1.48 / (download) - annotate - [select for diffs], Wed Jul 2 00:49:50 2014 UTC (9 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.47: +22 -5 lines
Diff to previous 1.47 (colored)

RETURN VALUES section

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jul 2 00:40:30 2014 UTC (9 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.46: +2 -3 lines
Diff to previous 1.46 (colored)

oops, extra newline

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jul 2 00:39:43 2014 UTC (9 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.45: +22 -2 lines
Diff to previous 1.45 (colored)

add a CONTEXT section.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jul 17 20:21:54 2013 UTC (10 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

use .Mt for AUTHORS email; from Jan Stary <hans at stare dot cz>; ok jmc@

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jun 4 19:27:11 2013 UTC (11 years ago) by schwarze
Branch: MAIN
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

Replace old-fashioned .Fd by new-fangled .In for #include lines.
Diff from Jan Klemkow <j dot klemkow at wemelug dot de> on tech@.
No objection from jmc@ against this type of change.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Sep 17 06:11:58 2012 UTC (11 years, 8 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.42: +22 -33 lines
Diff to previous 1.42 (colored)

Rework the description of the flags to pool_get(9)

ok jmc@, tedu@

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jul 5 23:42:44 2011 UTC (12 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.41: +6 -2 lines
Diff to previous 1.41 (colored)

a short note about PR_DEBUGCHK

Revision 1.41 / (download) - annotate - [select for diffs], Mon Mar 8 21:56:17 2010 UTC (14 years, 3 months ago) by oga
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.40: +7 -2 lines
Diff to previous 1.40 (colored)

document PR_NOWAIT.

(for those who've forgotten, if you can't sleep in pool_get, use
PR_NOWAIT, not zero. it makes the intention a lot clearer.

prompted by deraadt and jsing. ok jmc@

Revision 1.40 / (download) - annotate - [select for diffs], Thu Jan 15 21:20:15 2009 UTC (15 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

no comma for last item in a NAME list;

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jan 15 17:35:48 2009 UTC (15 years, 4 months ago) by oga
Branch: MAIN
Changes since 1.38: +2 -62 lines
Diff to previous 1.38 (colored)

Remove the pool_cache documentation and MLINKs, tedu removed the code at h2k7.

pool_set_ctordtor() (which can emulate what pool_cache_* did) still needs
documenting though.

tedu@ and jmc@ seemed to agree. "Do it. I command you!" blambert@

Revision 1.38 / (download) - annotate - [select for diffs], Sun Nov 9 07:41:27 2008 UTC (15 years, 7 months ago) by ckuethe
Branch: MAIN
Changes since 1.37: +2 -5 lines
Diff to previous 1.37 (colored)

remove reference to POOL_DIAGNOSTIC which hasn't existed for nearly a year.
ok tedu@

Revision 1.37 / (download) - annotate - [select for diffs], Mon Oct 27 08:56:49 2008 UTC (15 years, 7 months ago) by dlg
Branch: MAIN
Changes since 1.36: +20 -0 lines
Diff to previous 1.36 (colored)

document pool_setipl.

with help from jmc@, thank you.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jun 26 05:42:08 2008 UTC (15 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.35: +2 -9 lines
Diff to previous 1.35 (colored)

First pass at removing clauses 3 and 4 from NetBSD licenses.

Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.

OK deraadt@

Revision 1.35 / (download) - annotate - [select for diffs], Tue May 6 20:57:19 2008 UTC (16 years, 1 month ago) by thib
Branch: MAIN
Changes since 1.34: +6 -2 lines
Diff to previous 1.34 (colored)

Add a PR_ZERO flag for pools, to compliment the M_ZERO
malloc flag, does the same thing.
use it in a few places.

OK tedu@, "then go ahead. and don't forget the manpage (-:" miod@

Revision 1.34 / (download) - annotate - [select for diffs], Thu May 31 19:20:00 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

convert to new .Dd format;

Revision 1.33 / (download) - annotate - [select for diffs], Sun May 7 20:24:45 2006 UTC (18 years, 1 month ago) by pedro
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.32: +1 -24 lines
Diff to previous 1.32 (colored)

Pool drains are gone, okay tedu@

Revision 1.32 / (download) - annotate - [select for diffs], Fri Sep 30 18:04:45 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (colored)

add pool_set_drain_hook and pool_sethardlimit to .Nm;

Revision 1.31 / (download) - annotate - [select for diffs], Fri Sep 9 08:51:54 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

grammar;

Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 9 03:38:08 2005 UTC (18 years, 9 months ago) by pedro
Branch: MAIN
Changes since 1.29: +6 -18 lines
Diff to previous 1.29 (colored)

Fix the description of palloc, okay deraadt@ tedu@

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jul 31 03:26:45 2005 UTC (18 years, 10 months ago) by pascoe
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Pools aren't fun, don't let people think they are.  (fix argument name to
match source).

ok dlg deraadt

Revision 1.28 / (download) - annotate - [select for diffs], Tue Jan 20 18:37:37 2004 UTC (20 years, 4 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.27: +62 -2 lines
Diff to previous 1.27 (colored)

notes on pool_cache. ok markus jmc a while back.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Dec 31 00:38:27 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.26: +3 -8 lines
Diff to previous 1.26 (colored)

remove obsolete reference to "storage" parameter;
ok tedu@

Revision 1.26 / (download) - annotate - [select for diffs], Tue Dec 30 21:27:44 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
Changes since 1.25: +4 -7 lines
Diff to previous 1.25 (colored)

sync with <pool.h> and remove a .Pp before a list;
ok tedu@

Revision 1.25 / (download) - annotate - [select for diffs], Fri Aug 29 19:46:29 2003 UTC (20 years, 9 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

add some includes, from Patrick Latifi via jmc@

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jun 6 20:56:32 2003 UTC (21 years ago) by jmc
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

- section reorder
- macro fixes
- kill whitespace at EOL
- use .Ox for OpenBSD, .Fx for FreeBSD

Revision 1.23 / (download) - annotate - [select for diffs], Sun Apr 20 20:00:25 2003 UTC (21 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

typos;

ok tedu@

Revision 1.22 / (download) - annotate - [select for diffs], Mon Feb 24 02:26:06 2003 UTC (21 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

of of

Revision 1.21 / (download) - annotate - [select for diffs], Fri Dec 20 08:06:55 2002 UTC (21 years, 5 months ago) by art
Branch: MAIN
Changes since 1.20: +17 -9 lines
Diff to previous 1.20 (colored)

 - fix one argument to pool_init.
 - document PR_DEBUG.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 8 04:46:35 2002 UTC (21 years, 8 months ago) by todd
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

formatting knit, fix a run-together phrase
from Jean-Francois Brousseau <krapht@secureops.com>

Revision 1.19 / (download) - annotate - [select for diffs], Tue May 28 09:07:07 2002 UTC (22 years ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

	man9/:
o) Start new sentence on a new line;
o) FreeBSD -> .Fx;
o) OpenBSD -> .Ox;
o) Close .Bl/Bd lists;

millert@ ok

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 3 00:33:54 2002 UTC (22 years, 2 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.17: +11 -1 lines
Diff to previous 1.17 (colored)

Document pool_destroy. From NetBSD through Kamil Andrusz <wizz@mniam.net>
pr 2507

Revision 1.17 / (download) - annotate - [select for diffs], Mon Feb 25 04:53:16 2002 UTC (22 years, 3 months ago) by dhartmei
Branch: MAIN
Changes since 1.16: +7 -4 lines
Diff to previous 1.16 (colored)

Make pool_sethardlimit() check that it doesn't decrease the limit below
the current size of the pool. ok art@

Revision 1.16 / (download) - annotate - [select for diffs], Mon Feb 25 00:23:20 2002 UTC (22 years, 3 months ago) by art
Branch: MAIN
Changes since 1.15: +56 -38 lines
Diff to previous 1.15 (colored)

Catch up to reality.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Oct 29 12:43:44 2001 UTC (22 years, 7 months ago) by espie
Branch: MAIN
Changes since 1.14: +3 -5 lines
Diff to previous 1.14 (colored)

Unconfuse.
ok art@

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 4 16:56:52 2001 UTC (22 years, 8 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

we don't like .Pp and blank lines before/after .Ss;

millert@ ok

Revision 1.13 / (download) - annotate - [select for diffs], Tue Aug 21 18:27:12 2001 UTC (22 years, 9 months ago) by krw
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Typo: 'a architecture' -> 'an architecture

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 23 16:40:16 2001 UTC (22 years, 11 months ago) by art
Branch: MAIN
Changes since 1.11: +26 -41 lines
Diff to previous 1.11 (colored)

reflect reality.
Parts from NetBSD

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 28 05:37:28 2001 UTC (23 years ago) by angelos
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

It's actually "up-front". Alphabetical order for references at the
end, and uncomment uvm(9).

Revision 1.10 / (download) - annotate - [select for diffs], Mon May 28 05:34:46 2001 UTC (23 years ago) by angelos
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

"upfront" is not an English word.

Revision 1.9 / (download) - annotate - [select for diffs], Sun May 27 22:11:26 2001 UTC (23 years ago) by angelos
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Fix "(seeUVM(9))"

Revision 1.8 / (download) - annotate - [select for diffs], Sun May 27 08:03:57 2001 UTC (23 years ago) by angelos
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

"If both ... is specified ..." is not proper english.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 26 05:37:52 2001 UTC (23 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.6: +1 -3 lines
Diff to previous 1.6 (colored)

Remove BUGS section since pool(9) will now work with old VM system.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 1 16:11:25 2001 UTC (23 years, 3 months ago) by aaron
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

A slew of share/ man page fixes; nordin@cse.ogi.edu. These have been sitting
in my INBOX since Nov 6, 2000, probably forgot about them since the tree was
frozen at that time.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Dec 22 00:13:34 2000 UTC (23 years, 5 months ago) by avsm
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

more typo fixes; aaron@ ok

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 12 18:06:01 2000 UTC (23 years, 7 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.3: +7 -7 lines
Diff to previous 1.3 (colored)

General man page cleanups, mostly to remove trailing whitespace, hard
sentence breaks, and other such things.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 26 21:21:38 2000 UTC (24 years, 1 month ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.2: +12 -13 lines
Diff to previous 1.2 (colored)

pool manipulation routines; second take

Revision 1.2, Wed Sep 22 09:54:38 1999 UTC (24 years, 8 months ago) by espie
Branch: MAIN
Changes since 1.1: +1 -1 lines
FILE REMOVED

REVERT TO PREVIOUS STATE OF AFFAIR.

If those pages are different from the NetBSD version, maybe there's a
reason ?

Like, possibly, I just read our source code, which just happens to do
things in DIFFERENT ways than NetBSD does ?

As far as the added pages go, they obviously haven't been checked against
actual code as well, hence they're worse than useless, since a large part
of the information is definitely misleading.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 22 03:16:47 1999 UTC (24 years, 8 months ago) by csapuntz
Branch: MAIN



Add/update some man9 pages from NetBSD

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.