From owner-cvs-sys Sun Jun 22 09:05:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA09402 for cvs-sys-outgoing; Sun, 22 Jun 1997 09:05:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA09320; Sun, 22 Jun 1997 09:05:07 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA15993; Sun, 22 Jun 1997 09:04:24 -0700 (PDT) Date: Sun, 22 Jun 1997 09:04:24 -0700 (PDT) Message-Id: <199706221604.JAA15993@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/conf LINT SMP-GENERIC options.i386 src/sys/i386/i386 mp_apicdefs.s exception.s locore.s machdep.c microtime.s mp_machdep.c mpapic.c mpboot.s mplock.s pmap.c support.s swtch.s trap.c vm_machdep.c src/sys/i386/include apic.h ... Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/06/22 09:04:24 PDT Modified files: sys/i386/conf LINT SMP-GENERIC options.i386 sys/i386/i386 exception.s locore.s machdep.c microtime.s mp_machdep.c mpapic.c mpboot.s mplock.s pmap.c support.s swtch.s trap.c vm_machdep.c sys/i386/include apic.h asnames.h mpapic.h npx.h pcb.h pmap.h smp.h sys/i386/isa apic_vector.s intr_machdep.c npx.c sys/kern init_main.c init_smp.c kern_fork.c kern_shutdown.c kern_synch.c sys/sys kernel.h proc.h Added files: sys/i386/i386 mp_apicdefs.s Removed files: sys/i386/include smpasm.h Log: 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 Revision Changes Path 1.346 +1 -10 src/sys/i386/conf/LINT 1.4 +1 -4 src/sys/i386/conf/SMP-GENERIC 1.48 +1 -7 src/sys/i386/conf/options.i386 1.30 +2 -8 src/sys/i386/i386/exception.s 1.89 +46 -25 src/sys/i386/i386/locore.s 1.251 +19 -46 src/sys/i386/i386/machdep.c 1.24 +2 -6 src/sys/i386/i386/microtime.s 1.18 +109 -45 src/sys/i386/i386/mp_machdep.c 1.7 +31 -36 src/sys/i386/i386/mpapic.c 1.2 +5 -6 src/sys/i386/i386/mpboot.s 1.4 +10 -42 src/sys/i386/i386/mplock.s 1.146 +37 -64 src/sys/i386/i386/pmap.c 1.54 +27 -28 src/sys/i386/i386/support.s 1.53 +48 -42 src/sys/i386/i386/swtch.s 1.100 +4 -15 src/sys/i386/i386/trap.c 1.81 +1 -8 src/sys/i386/i386/vm_machdep.c 1.4 +1 -112 src/sys/i386/include/apic.h 1.4 +4 -7 src/sys/i386/include/asnames.h 1.8 +6 -8 src/sys/i386/include/mpapic.h 1.13 +3 -1 src/sys/i386/include/npx.h 1.23 +1 -9 src/sys/i386/include/pcb.h 1.51 +8 -8 src/sys/i386/include/pmap.h 1.11 +7 -35 src/sys/i386/include/smp.h 1.3 +12 -13 src/sys/i386/isa/apic_vector.s 1.3 +2 -2 src/sys/i386/isa/intr_machdep.c 1.46 +6 -7 src/sys/i386/isa/npx.c 1.65 +2 -6 src/sys/kern/init_main.c 1.7 +26 -20 src/sys/kern/init_smp.c 1.44 +14 -1 src/sys/kern/kern_fork.c 1.17 +7 -4 src/sys/kern/kern_shutdown.c 1.32 +3 -9 src/sys/kern/kern_synch.c 1.32 +1 -10 src/sys/sys/kernel.h 1.41 +1 -10 src/sys/sys/proc.h