when enabling cpu caches, check the item size against the right thing
authordlg <dlg@openbsd.org>
Tue, 13 Jun 2017 11:41:11 +0000 (11:41 +0000)
committerdlg <dlg@openbsd.org>
Tue, 13 Jun 2017 11:41:11 +0000 (11:41 +0000)
commit2b9bbc5594dd7f84398492810704620a2a8ea0d5
treeaa86ac3138428bf964e3e1c26e2613c2ca411e5f
parentb7101b402c5caf7328def93604752bfc8353cda8
when enabling cpu caches, check the item size against the right thing

lists of free items on the per cpu caches are built out the pool items
as struct pool_cache_items, not struct pool_cache. make the KASSERT
in pool_cache_init check that properly.
sys/kern/subr_pool.c