CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2016/10/27 03:40:20

Modified files:
        sys/kern       : subr_percpu.c 

Log message:
use ncpusfound to size the percpu allocations.

ncpus is used on half the architectures to indicate the number of
cpus that have been hatched, and is used on them in things like ddb
to figure out how many cpus to shut down again.

ncpusfound is incremented during autoconf on MP machines to show
how big ncpus will probably become. percpu is initted after autoconf
but before cpus are hatched, so this works well.

Reply via email to