Date: Tue, 23 Nov 1999 10:46:10 -0800 (PST) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 mplock.s Message-ID: <199911231846.KAA14093@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911231846.KAA14093>