Date: Tue, 27 Apr 1999 18:04:34 -0700 (PDT) From: Luoqi Chen <luoqi@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 db_interface.c db_trace.c exception.s genassym.c globals.s locore.s machdep.c mp_machdep.c mpboot.s pmap.c support.s swtch.s sys_machdep.c trap.c vm86.c vm86bios.s src/sys/i386/include globals.h asnames.h cpufunc.h ... Message-ID: <199904280104.SAA02665@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
luoqi 1999/04/27 18:04:34 PDT Modified files: sys/i386/i386 db_interface.c db_trace.c exception.s genassym.c globals.s locore.s machdep.c mp_machdep.c mpboot.s pmap.c support.s swtch.s sys_machdep.c trap.c vm86.c vm86bios.s sys/i386/include asnames.h cpufunc.h frame.h globaldata.h md_var.h npx.h pcb.h proc.h reg.h segments.h smp.h tss.h vm86.h sys/i386/isa apic_vector.s icu_vector.s ipl.s ipl_funcs.c sys/i386/linux linux_genassym.c linux_locore.s linux_misc.c linux_sysvec.c sys/i386/svr4 svr4_locore.s svr4_machdep.c sys/kern init_main.c kern_exit.c kern_fork.c kern_linker.c vfs_aio.c sys/sys proc.h Added files: sys/i386/include globals.h Log: Enable vmspace sharing on SMP. Major changes are, - %fs register is added to trapframe and saved/restored upon kernel entry/exit. - Per-cpu pages are no longer mapped at the same virtual address. - Each cpu now has a separate gdt selector table. A new segment selector is added to point to per-cpu pages, per-cpu global variables are now accessed through this new selector (%fs). The selectors in gdt table are rearranged for cache line optimization. - fask_vfork is now on as default for both UP and SMP. - Some aio code cleanup. Reviewed by: Alan Cox <alc@cs.rice.edu> John Dyson <dyson@iquest.net> Julian Elischer <julian@whistel.com> Bruce Evans <bde@zeta.org.au> David Greenman <dg@root.com> Revision Changes Path 1.44 +2 -1 src/sys/i386/i386/db_interface.c 1.34 +2 -2 src/sys/i386/i386/db_trace.c 1.59 +25 -9 src/sys/i386/i386/exception.s 1.66 +31 -32 src/sys/i386/i386/genassym.c 1.10 +53 -36 src/sys/i386/i386/globals.s 1.121 +21 -36 src/sys/i386/i386/locore.s 1.332 +87 -78 src/sys/i386/i386/machdep.c 1.98 +54 -113 src/sys/i386/i386/mp_machdep.c 1.10 +3 -3 src/sys/i386/i386/mpboot.s 1.234 +49 -67 src/sys/i386/i386/pmap.c 1.63 +6 -4 src/sys/i386/i386/support.s 1.79 +38 -51 src/sys/i386/i386/swtch.s 1.41 +7 -1 src/sys/i386/i386/sys_machdep.c 1.136 +3 -8 src/sys/i386/i386/trap.c 1.24 +6 -4 src/sys/i386/i386/vm86.c 1.9 +5 -13 src/sys/i386/i386/vm86bios.s 1.32 +38 -27 src/sys/i386/include/asnames.h 1.86 +33 -1 src/sys/i386/include/cpufunc.h 1.16 +5 -1 src/sys/i386/include/frame.h 1.8 +28 -38 src/sys/i386/include/globaldata.h 1.29 +3 -2 src/sys/i386/include/md_var.h 1.15 +5 -1 src/sys/i386/include/npx.h 1.27 +5 -3 src/sys/i386/include/pcb.h 1.9 +3 -1 src/sys/i386/include/proc.h 1.18 +19 -19 src/sys/i386/include/reg.h 1.19 +15 -10 src/sys/i386/include/segments.h 1.45 +1 -8 src/sys/i386/include/smp.h 1.9 +10 -1 src/sys/i386/include/tss.h 1.10 +2 -1 src/sys/i386/include/vm86.h 1.37 +49 -18 src/sys/i386/isa/apic_vector.s 1.11 +10 -5 src/sys/i386/isa/icu_vector.s 1.26 +12 -6 src/sys/i386/isa/ipl.s 1.17 +2 -1 src/sys/i386/isa/ipl_funcs.c 1.9 +1 -2 src/sys/i386/linux/linux_genassym.c 1.2 +0 -2 src/sys/i386/linux/linux_locore.s 1.57 +5 -9 src/sys/i386/linux/linux_misc.c 1.47 +6 -4 src/sys/i386/linux/linux_sysvec.c 1.3 +2 -2 src/sys/i386/svr4/svr4_locore.s 1.4 +11 -0 src/sys/i386/svr4/svr4_machdep.c 1.114 +1 -4 src/sys/kern/init_main.c 1.79 +2 -2 src/sys/kern/kern_exit.c 1.60 +1 -21 src/sys/kern/kern_fork.c 1.31 +1 -3 src/sys/kern/kern_linker.c 1.46 +5 -43 src/sys/kern/vfs_aio.c 1.80 +9 -3 src/sys/sys/proc.h 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?199904280104.SAA02665>