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:05:11
Module Name:	syssrc
Committed By:	thorpej
Date:		Sun Mar 10 21:05:11 UTC 2002

Modified Files:
	syssrc/sys/kern [newlock]: init_main.c kern_exit.c kern_turnstile.c
	syssrc/sys/sys [newlock]: sched.h

Log Message:
Some suggestions from Bill Sommerfeld:
* Use a pool cache for turnstiles, so you can save the memset().  Add
  some asserts to make sure that inactive turnstiles end up in their
  freshly-constructed state.
* Invalidate p->p_ts before returning p to the proc pool (only done if
  DIAGNOSTIC).
* Fix up some comments in kern_turnstile.c
* Bugfix in turnstile_remque(): typo ("==" should have been "=").


To generate a diff of this commit:
cvs rdiff -r1.199.2.2 -r1.199.2.3 syssrc/sys/kern/init_main.c
cvs rdiff -r1.92.4.1 -r1.92.4.2 syssrc/sys/kern/kern_exit.c
cvs rdiff -r1.1.2.2 -r1.1.2.3 syssrc/sys/kern/kern_turnstile.c
cvs rdiff -r1.14.10.1 -r1.14.10.2 syssrc/sys/sys/sched.h

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