From owner-freebsd-smp Wed Nov 27 02:50:21 1996 Return-Path: owner-smp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA11241 for smp-outgoing; Wed, 27 Nov 1996 02:50:21 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA11234 for freebsd-smp; Wed, 27 Nov 1996 02:50:20 -0800 (PST) Date: Wed, 27 Nov 1996 02:50:20 -0800 (PST) From: Peter Wemm Message-Id: <199611271050.CAA11234@freefall.freebsd.org> To: freebsd-smp Subject: cvs commit: sys/kern init_main.c Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/11/27 02:50:19 Modified: kern init_main.c Log: Support more than 2 cpu's. This drives the changes in mpboot.s to bring up 'n' cpu's in an orderly fashion. NOTE!! It now enables SMP mode *at boot*! The sysctl to set kern.smp_active to 2 is no longer needed. Note, the sysctl is still respected, so you can lower it to 1 and the AP cpu's will freeze. I'm not sure if there are other santity checks to prevent more than 2 cpu's in the code, I've only tested with 2 and have not looked far yet. Revision Changes Path 1.35 +63 -22 sys/kern/init_main.c