Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 03/12/2007 22:34:08
Module Name:	src
Committed By:	ad
Date:		Mon Mar 12 22:34:08 UTC 2007

Modified Files:
	src/sys/kern: kern_mutex.c

Log Message:
mutex_vector_enter: put a read memory barrier between the final check that
(1) the holder is no longer running and (2) the waiters bit is set. Needed
to ensure that the operations happen in the correct order.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/kern/kern_mutex.c

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