OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.8 / (download) - annotate - [select for diffs], Fri Jan 12 04:36:45 2018 UTC (6 years, 4 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, OPENBSD_6_7_BASE, OPENBSD_6_7, 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, HEAD
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored)

Adjust references for sysctl(3) to sysctl(2)

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 23 01:02:18 2017 UTC (6 years, 11 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

change the semantic for calculating when to grow the size of a cache list.

previously it would figure out if there's enough items overall for
all the cpus to have full active an inactive free lists. this
included currently allocated items, which pools wont actually hold
on a free list and cannot predict when they will come back.

instead, see if there's enough items in the idle lists in the depot
that could instead go on all the free lists on the cpus. if there's
enough idle items, then we can grow.

tested by hrvoje popovski and amit kulkarni
ok visa@

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 22 02:30:34 2017 UTC (6 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

items get returns to pools with pool_put, not pool_get.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 20 04:37:17 2017 UTC (6 years, 11 months ago) by jmatthew
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

fix some nits
ok dlg@

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 19 23:48:49 2017 UTC (6 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

s/a active/an active/

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 19 23:45:42 2017 UTC (6 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

s/pool_set_hardlimit/pool_sethardlimit/

from schwarze@

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 19 23:45:13 2017 UTC (6 years, 11 months ago) by dlg
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

s/can be from process context/can be called from process context/

from schwarze@

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 19 23:44:11 2017 UTC (6 years, 11 months ago) by dlg
Branch: MAIN

talk about the per cpu caches in pools by documenting pool_cache_init()

this describes what the per cpu caches do, and has some bonus doco about
what the sysctls provide thanks to a suggestion from mikeb@

some tweaks are coming, but this is mostly right.

ok jmc@ schwarze@

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.