smp_topo: dynamically allocate group array Limit its size to mp_maxid + 1 times MAX_CACHE_LEVELS instead MAXCPU. Allocate the array on the first call into smp_topo(9) functions, where the mp_maxid is already known.
quiesce_cpus(): do not overallocate generation array Also switch to mallocarray().