Increase SMP_MAXCPU to 31. Can't do 32 (boo hoo!) because spinlocks need
commit1dfd4896987d269d173425f0b4cb8c963bcc0c2a
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 2 Jul 2007 03:44:12 +0000 (2 03:44 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 2 Jul 2007 03:44:12 +0000 (2 03:44 +0000)
treeb8c0da5a4099bb8c4c7f5c36d0a4ecc4dfa9aa9a
parentd57cdbecfa031112c801daea66a9e0206c3de9d2
Increase SMP_MAXCPU to 31.  Can't do 32 (boo hoo!) because spinlocks need
a bit in the cpumask.

Add DELAY()'s (usleep()'s) in the AP startup code where we spin on the MP
lock.  This greatly improves startup speed when you specify 31 cpus.

Fix a bug in the kqueue interrupt init.  The kqueue code was not registering
its interrupt soon enough which could cause the timer to stop generating
interrupts.
sys/cpu/i386/include/param.h
sys/platform/vkernel/i386/mp.c
sys/platform/vkernel/include/param.h
sys/platform/vkernel/platform/init.c
sys/platform/vkernel/platform/kqueue.c