Implement ncpus_fit and ncpus_fit_mask. Admittedly not the best name.
authorMatthew Dillon <dillon@dragonflybsd.org>
Fri, 27 Apr 2007 23:27:18 +0000 (23:27 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Fri, 27 Apr 2007 23:27:18 +0000 (23:27 +0000)
commitb45759e10e5b97aa8db68cb35a9d3a56bd39409d
tree323eb8f37dc155258dfa63295d976cc04a4fa9ec
parent310fc17d2081d5f859a849bdf6bfdb96a3b7ed8a
Implement ncpus_fit and ncpus_fit_mask.  Admittedly not the best name.
This variable is the nearest power of 2 >= ncpus (ncpus2 is the nearest
power of 2 <= ncpus).
sys/kern/kern_synch.c
sys/platform/pc32/i386/machdep.c
sys/platform/pc32/i386/mp_machdep.c
sys/platform/vkernel/platform/init.c
sys/sys/systm.h