Date: Sun, 30 Dec 2001 01:59:02 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 locore.s mp_machdep.c Message-ID: <200112300959.fBU9x2Z42057@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112300959.fBU9x2Z42057>
