Subject: CVS commit: src/sys/arch
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 05/08/2003 01:04:38
Module Name: src
Committed By: fvdl
Date: Thu May 8 01:04:37 UTC 2003
Modified Files:
src/sys/arch/amd64/include: cpufunc.h
src/sys/arch/i386/i386: pmap.c
src/sys/arch/i386/include: cpufunc.h
src/sys/arch/x86/include: lock.h
src/sys/arch/x86/x86: lapic.c
Log Message:
Add x86_pause() inline function, containing the "pause" instruction
for i386, and nothing for amd64. Sprinkle it in various spinloops,
as recommended by Intel.
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/arch/amd64/include/cpufunc.h
cvs rdiff -r1.151 -r1.152 src/sys/arch/i386/i386/pmap.c
cvs rdiff -r1.23 -r1.24 src/sys/arch/i386/include/cpufunc.h
cvs rdiff -r1.1 -r1.2 src/sys/arch/x86/include/lock.h
cvs rdiff -r1.1 -r1.2 src/sys/arch/x86/x86/lapic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.