Date: Tue, 18 Aug 1998 00:47:13 -0700 (PDT) From: Michael Smith <msmith@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 genassym.c globals.s machdep.c mp_machdep.c sys_machdep.c vm_machdep.c src/sys/i386/include globaldata.h Message-ID: <199808180747.AAA00589@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
msmith 1998/08/18 00:47:13 PDT Modified files: sys/i386/i386 genassym.c globals.s machdep.c mp_machdep.c sys_machdep.c vm_machdep.c sys/i386/include globaldata.h Log: Presently there is only one `currentldt' variable for all cpus in a SMP system. Unexpected things could happen if each cpu has a different ldt setting and one cpu tries to use value of currentldt set by another cpu. The fix is to move currentldt to the per-cpu area. It includes patches I filed in PR i386/6219 which are also user ldt related. PR: i386/7591, i386/6219 Submitted by: Luoqi Chen <luoqi@watermarkgroup.com> Revision Changes Path 1.60 +5 -1 src/sys/i386/i386/genassym.c 1.7 +7 -1 src/sys/i386/i386/globals.s 1.304 +16 -6 src/sys/i386/i386/machdep.c 1.78 +5 -1 src/sys/i386/i386/mp_machdep.c 1.36 +2 -2 src/sys/i386/i386/sys_machdep.c 1.109 +5 -3 src/sys/i386/i386/vm_machdep.c 1.6 +4 -1 src/sys/i386/include/globaldata.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808180747.AAA00589>