CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2017/06/22 19:02:18
Modified files: sys/sys : pool.h sys/kern : subr_pool.c usr.bin/systat : pool.c share/man/man9 : pool_cache_init.9 Log message: 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@