Increase SMP_MAXCPU to 31. Can't do 32 (boo hoo!) because spinlocks need
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 2 Jul 2007 03:44:12 +0000 (03:44 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 2 Jul 2007 03:44:12 +0000 (03:44 +0000)
commit057f071888b90e68a28d10736389cf27095618aa
treef7531bd39aad60ae9ce81957f811395450ebbb56
parentc5b0b0ba47703b28f0772382ff1e65eda209db4e
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