Subject: CVS commit: src/sys/arch/i386/i386
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 03/02/2007 17:10:58
Module Name: src
Committed By: ad
Date: Fri Mar 2 17:10:58 UTC 2007
Modified Files:
src/sys/arch/i386/i386: pmap.c
Log Message:
pmap_reference, pmap_destroy: update the pmap reference count using
_lock_cas. This is ugly and needs to be redone when atomic ops are
available, but for now it knocks about 5% contention off the kernel
lock in one test that I have done.
To generate a diff of this commit:
cvs rdiff -r1.198 -r1.199 src/sys/arch/i386/i386/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.