freebsd-nq/sys/i386
Peter Wemm 9a3b3e8bce Clean up the SMP AP bootstrap and eliminate the wretched idle procs.
- We now have enough per-cpu idle context, the real idle loop has been
revived (cpu's halt now with nothing to do).
- Some preliminary support for running some operations outside the
global lock (eg: zeroing "free but not yet zeroed pages") is present
but appears to cause problems.  Off by default.
- the smp_active sysctl now behaves differently. It's merely a 'true/false'
option.  Setting smp_active to zero causes the AP's to halt in the idle
loop and stop scheduling processes.
- bootstrap is a lot safer.  Instead of sharing a statically compiled in
stack a number of times (which has caused lots of problems) and then
abandoning it, we use the idle context to boot the AP's directly.  This
should help >2 cpu support since the bootlock stuff was in doubt.
- print physical apic id in traps.. helps identify private pages getting
out of sync.  (You don't want to know how much hair I tore out with this!)

More cleanup to follow, this is more of a checkpoint than a
'finished' thing.
1997-08-26 18:10:38 +00:00
..
apm Fix crash when halting where APM was configured but not enabled 1997-06-19 00:25:03 +00:00
bios Fix crash when halting where APM was configured but not enabled 1997-06-19 00:25:03 +00:00
boot Remove extraneous init parameter. 1997-08-23 23:38:12 +00:00
conf Mention PPP_DEFLATE and PPP_BSDCOMP for kernel ppp. 1997-08-19 17:11:35 +00:00
eisa #include <machine/limits.h> explicitly in the few places that it is required. 1997-08-21 20:33:42 +00:00
i386 Clean up the SMP AP bootstrap and eliminate the wretched idle procs. 1997-08-26 18:10:38 +00:00
ibcs2 Fixed type mismatches for functions with args of type vm_prot_t and/or 1997-08-25 22:15:31 +00:00
include Clean up the SMP AP bootstrap and eliminate the wretched idle procs. 1997-08-26 18:10:38 +00:00
isa Fixed pedantic syntax error (trailing comma in enum). 1997-08-25 23:31:05 +00:00
linux Fixed misplaced declaration. 1997-08-25 23:41:39 +00:00
pci Removed unused #includes. 1997-07-20 14:10:18 +00:00
scsi Don't depend on the gcc feature of permitting conditional expressions 1997-08-25 23:45:50 +00:00
Makefile Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00