Subject: CVS commit: [vmlocking] src/sys/kern
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 08/18/2007 05:38:36
Module Name:	src
Committed By:	yamt
Date:		Sat Aug 18 05:38:35 UTC 2007

Modified Files:
	src/sys/kern [vmlocking]: init_sysctl.c

Log Message:
sysctl_kern_lwp:
	- don't copyout with p_smutex held.
	 on i386, copyout can involve pmap_load, which can block.
	- don't forget to release mutexes on error.
ok'ed by Andrew Doran.


To generate a diff of this commit:
cvs rdiff -r1.98.2.5 -r1.98.2.6 src/sys/kern/init_sysctl.c

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