CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2017/06/19 17:57:12

Modified files:
        sys/sys        : pool.h 
        sys/kern       : subr_pool.c 

Log message:
dynamically scale the size of the per cpu cache lists.

if the lock around the global depot of extra cache lists is contented
a lot in between the gc task runs, consider growing the number of
entries a free list can hold.

the size of the list is bounded by the number of pool items the
current set of pages can represent to avoid having cpus starve each
other. im not sure this semantic is right (or the least worst) but
we're putting it in now to see what happens.

this also means reality matches the documentation i just committed
in pool_cache_init.9.

tested by hrvoje popovski and amit kulkarni
ok visa@

Reply via email to