From owner-cvs-all Sun Dec 30 1:59: 7 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 469A837B417; Sun, 30 Dec 2001 01:59:02 -0800 (PST) Received: (from marcel@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBU9x2Z42057; Sun, 30 Dec 2001 01:59:02 -0800 (PST) (envelope-from marcel) Message-Id: <200112300959.fBU9x2Z42057@freefall.freebsd.org> From: Marcel Moolenaar Date: Sun, 30 Dec 2001 01:59:02 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 locore.s mp_machdep.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG marcel 2001/12/30 01:59:02 PST Modified files: sys/ia64/ia64 locore.s mp_machdep.c Log: Better implement SMP support: o Do not use a special struct to keep track of CPUs we found; instead, use struct pcpu. This handles all the magic WRT thread creation (yay!). o Respect MAXCPU. o Use the vhpt_base and vhpt_size values to initialize the AP. o Style fixes. Note that this commit temporarily breaks SMP configurations. Previously APs didn't do anything, but they now enter the scheduler. They hold sched_lock for more than 5 secs though and cause a panic. That's what I call progress :-) Revision Changes Path 1.20 +33 -8 src/sys/ia64/ia64/locore.s 1.27 +113 -84 src/sys/ia64/ia64/mp_machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message