Date: Sun, 17 May 1998 16:08:04 -0700 (PDT) From: Tor Egge <tegge@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/include globaldata.h src/sys/i386/i386 genassym.c globals.s simplelock.s mplock.s Message-ID: <199805172308.QAA22119@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tegge 1998/05/17 16:08:04 PDT Modified files: sys/i386/include globaldata.h sys/i386/i386 genassym.c globals.s simplelock.s mplock.s Log: Change simple lock handling to not depend upon having a local apic available. The per-cpu variable ss_tpr has been replaced by ss_eflags. This reduced the number of interrupts sent to the wrong CPU, due to the cpu having the global lock being inside a critical region. Remove some unneeded manipulation of tpr register in mplock.s. Adjust code in mplock.s to be aware of variables on the stack being destroyed by MPgetlock if GRAB_LOPRIO is defined. Revision Changes Path 1.4 +2 -2 src/sys/i386/include/globaldata.h 1.57 +2 -2 src/sys/i386/i386/genassym.c 1.4 +3 -3 src/sys/i386/i386/globals.s 1.9 +20 -30 src/sys/i386/i386/simplelock.s 1.24 +22 -8 src/sys/i386/i386/mplock.s 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?199805172308.QAA22119>