Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 08/12/2000 02:07:41
Module Name: syssrc
Committed By: thorpej
Date: Fri Aug 11 23:07:41 UTC 2000
Modified Files:
syssrc/sys/kern [netbsd-1-5]: kern_lock.c kern_synch.c
syssrc/sys/sys [netbsd-1-5]: lock.h proc.h
Log Message:
Pullup from trunk:
It doesn't make sense to charge simple locks to proc's, because
simple locks are held by CPUs. Remove p_simple_locks (which was
unused anyway, really), and add a LOCKDEBUG check for held simple
locks in mi_switch(). Grow p_locks to an int to take up the space
previously used by p_simple_locks so that the proc structure doens't
change size.
To generate a diff of this commit:
cvs rdiff -r1.32 -r1.32.2.1 syssrc/sys/kern/kern_lock.c
cvs rdiff -r1.78 -r1.78.2.1 syssrc/sys/kern/kern_synch.c
cvs rdiff -r1.31 -r1.31.2.1 syssrc/sys/sys/lock.h
cvs rdiff -r1.98 -r1.98.2.1 syssrc/sys/sys/proc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.