From owner-cvs-all Sun May 17 16:12:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA12306 for cvs-all-outgoing; Sun, 17 May 1998 16:12:47 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA12232; Sun, 17 May 1998 16:12:19 -0700 (PDT) (envelope-from tegge@FreeBSD.org) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id QAA22119; Sun, 17 May 1998 16:08:04 -0700 (PDT) Date: Sun, 17 May 1998 16:08:04 -0700 (PDT) Message-Id: <199805172308.QAA22119@freefall.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 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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