CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2010/11/12 21:16:42
Modified files: sys/arch/amd64/include: cpu.h gdt.h intrdefs.h pcb.h proc.h segments.h tss.h sys/arch/amd64/amd64: acpi_machdep.c cpu.c gdt.c genassym.cf ipifuncs.c locore.S machdep.c mptramp.S pmap.c vm_machdep.c sys/arch/amd64/conf: files.amd64 Log message: Switch from TSS-per-process to TSS-per-CPU, placing the TSS right next to the cpu's GDT, also making the double-fault stack per-CPU, leaving it at the top of the page of the CPU's idle process. Inline pmap_activate() and pmap_deactivate() into the asm cpu_switchto routine, adding a check for the new pmap already being marked as active on the CPU. Garbage collect the hasn't-been-used-in-years GDT update IPI. Tested by many; ok mikeb@, kettenis@