From owner-cvs-all Tue Nov 23 10:46:38 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C315214F04; Tue, 23 Nov 1999 10:46:35 -0800 (PST) (envelope-from dillon@FreeBSD.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA14093; Tue, 23 Nov 1999 10:46:15 -0800 (PST) (envelope-from dillon@FreeBSD.org) Message-Id: <199911231846.KAA14093@freefall.freebsd.org> From: Matt Dillon Date: Tue, 23 Nov 1999 10:46:10 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 mplock.s Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 1999/11/23 10:46:10 PST Modified files: sys/i386/i386 mplock.s Log: Add in required instruction serialization prior to releasing the MP lock for the last time. The use of a locked instruction to cpu-private memory is 3x faster then CPUID and 3x faster then the use of a locked instruction to shared memory (the lock itself). Instruction serialization is required to ensure that any pending memory ops are properly flushed prior to the release of the lock, due to out-of-order instruction execution by the cpu. Revision Changes Path 1.28 +21 -2 src/sys/i386/i386/mplock.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message