diff options
author | peter <peter@FreeBSD.org> | 1997-06-22 16:04:22 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-06-22 16:04:22 +0000 |
commit | 2dc5ff96e76a38f1a5ffd4c22e350c882f7592eb (patch) | |
tree | 281c7f0e4899a210947f7dfa14231536350272d2 /sys/conf | |
parent | e0245a10b266a1abf80916d730d18966653de374 (diff) | |
download | FreeBSD-src-2dc5ff96e76a38f1a5ffd4c22e350c882f7592eb.zip FreeBSD-src-2dc5ff96e76a38f1a5ffd4c22e350c882f7592eb.tar.gz |
Preliminary support for per-cpu data pages.
This eliminates a lot of #ifdef SMP type code. Things like _curproc reside
in a data page that is unique on each cpu, eliminating the expensive macros
like: #define curproc (SMPcurproc[cpunumber()])
There are some unresolved bootstrap and address space sharing issues at
present, but Steve is waiting on this for other work. There is still some
strictly temporary code present that isn't exactly pretty.
This is part of a larger change that has run into some bumps, this part is
standalone so it should be safe. The temporary code goes away when the
full idle cpu support is finished.
Reviewed by: fsmp, dyson
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/NOTES | 11 | ||||
-rw-r--r-- | sys/conf/options.i386 | 8 |
2 files changed, 2 insertions, 17 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 16d2d79..3d62526 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -2,7 +2,7 @@ # LINT -- config file for checking all the sources, tries to pull in # as much of the source tree as it can. # -# $Id: LINT,v 1.344 1997/06/06 12:24:43 jkh Exp $ +# $Id: LINT,v 1.345 1997/06/17 05:58:15 kjc Exp $ # # NB: You probably don't want to try running a kernel built from this # file. Instead, you should start from GENERIC, and add options from @@ -71,9 +71,6 @@ config kernel root on wd0 dumps on wd0 # NAPIC sets the number of IO APICs on the motherboard, defaults to 1. # NINTR sets the total number of INTs provided by the motherboard. # -# SMP_AUTOSTART automates the startup of the additional CPUs. -# SMP_PRIVPAGES maintain 'per-CPU' private data, NOT implemented yet! -# # SMP_TIMER_NC is for motherboards that claim 8254 connectivity to the IO APIC, # when in fact it is NOT connected. # @@ -91,18 +88,12 @@ config kernel root on wd0 dumps on wd0 options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O -# Useful: -options SMP_AUTOSTART # start the additional CPUs during boot - # Optional, these are the defaults: #options NCPU=2 # number of CPUs #options NBUS=4 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs -# Currently unusable: -#options SMP_PRIVPAGES # BROKEN: architecture problem - # # Rogue SMP hardware: # diff --git a/sys/conf/options.i386 b/sys/conf/options.i386 index 094c986..275753e 100644 --- a/sys/conf/options.i386 +++ b/sys/conf/options.i386 @@ -1,4 +1,4 @@ -# $Id: options.i386,v 1.46 1997/06/04 04:55:00 pst Exp $ +# $Id: options.i386,v 1.47 1997/06/04 16:25:07 pst Exp $ BOUNCEPAGES opt_bounce.h USER_LDT @@ -41,12 +41,6 @@ NAPIC opt_smp.h NINTR opt_smp.h SMP_TIMER_NC opt_smp.h -# These three are known to be broken, don't enable them. -SMP_PRIVPAGES opt_smp_privpages.h -SMP_AUTOSTART opt_smp_autostart.h - -SERIAL_DEBUG opt_serial.h - AHC_TAGENABLE opt_aic7xxx.h AHC_SCBPAGING_ENABLE opt_aic7xxx.h AHC_ALLOW_MEMIO opt_aic7xxx.h |