Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 06/17/1999 08:47:24
Module Name:	syssrc
Committed By:	thorpej
Date:		Thu Jun 17 15:47:24 UTC 1999

Modified Files:
	syssrc/sys/compat/netbsd32: netbsd32_netbsd.c
	syssrc/sys/dev/ic: rrunner.c
	syssrc/sys/kern: kern_physio.c kern_sysctl.c
	syssrc/sys/uvm: uvm_extern.h uvm_glue.c

Log Message:
Make uvm_vslock() return the error code from uvm_fault_wire().  All places
which use uvm_vslock() should now test the return value.  If it's not
KERN_SUCCESS, wiring the pages failed, so the operation which is using
uvm_vslock() should error out.

XXX We currently just EFAULT a failed uvm_vslock().  We may want to do
more about translating error codes in the future.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 syssrc/sys/compat/netbsd32/netbsd32_netbsd.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/dev/ic/rrunner.c
cvs rdiff -r1.36 -r1.37 syssrc/sys/kern/kern_physio.c
cvs rdiff -r1.45 -r1.46 syssrc/sys/kern/kern_sysctl.c
cvs rdiff -r1.28 -r1.29 syssrc/sys/uvm/uvm_extern.h
cvs rdiff -r1.25 -r1.26 syssrc/sys/uvm/uvm_glue.c

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