Subject: CVS commit: [newlock] syssrc/sys
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 03/10/2002 23:39:49
Module Name:	syssrc
Committed By:	thorpej
Date:		Sun Mar 10 21:39:48 UTC 2002

Modified Files:
	syssrc/sys/conf [newlock]: files
Added Files:
	syssrc/sys/kern [newlock]: kern_mutex.c
	syssrc/sys/sys [newlock]: mutex.h

Log Message:
New kernel mutex implementation, modeled after those found in Solaris
and described in:

	Solaris Internals: Core Kernel Architecture, Jim Mauro and
	    Richard McDougall, section 3.5.

Both adaptive (spin/sleep) and spin (spin + block interrupts) mutexes
are implemented.  See <sys/mutex.h> for the support that machine-dependent
code must supply.


To generate a diff of this commit:
cvs rdiff -r1.500.2.1 -r1.500.2.2 syssrc/sys/conf/files
cvs rdiff -r0 -r1.1.2.1 syssrc/sys/kern/kern_mutex.c
cvs rdiff -r0 -r1.1.2.1 syssrc/sys/sys/mutex.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.