CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2017/06/15 19:33:20
Modified files: sys/kern : subr_pool.c Log message: split returning an item to the pool pages out of pool_put as pool_do_put. this lets pool_cache_list_put return items to the pages. currently, if pool_cache_list_put is called while the per cpu caches are enabled, the items on the list will put put straight back onto another list in the cpu cache. this also avoids counting puts for these items twice. a put for the items have already been coutned when the items went to a cpu cache, it doesnt need to be counted again when it goes back to the pool pages. another side effect of this is that pool_cache_list_put can take the pool mutex once when returning all the items in the list with pool_do_put, rather than once per item. ok visa@