CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2016/10/24 17:58:33
Modified files: sys/sys : percpu.h sys/kern : subr_percpu.c uipc_mbuf.c Log message: avoid using realloc in the name of things that dont work like realloc. cpumem_realloc and counters_realloc actually allocated new per cpu data for new cpus, they didnt resize the existing allocation. specifically, this renames cpumem_reallod to cpumem_malloc_ncpus, and counters_realloc to counters_alloc_ncpus. ok (and with some fixes by) bluhm@