Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 03/01/2006 12:38:44
Module Name:	src
Committed By:	yamt
Date:		Wed Mar  1 12:38:44 UTC 2006

Modified Files:
	src/sys/arch/algor/algor: bus_dma.c
	src/sys/arch/algor/include: bus.h
	src/sys/arch/alpha/common: bus_dma.c sgmap_typedep.c
	src/sys/arch/arc/arc: bus_dma.c
	src/sys/arch/arc/include: bus.h
	src/sys/arch/arc/jazz: bus_dma_jazz.c jazzdmatlb.c jazzdmatlbvar.h
	src/sys/arch/arm/arm32: bus_dma.c
	src/sys/arch/arm/include: bus.h
	src/sys/arch/atari/atari: bus.c
	src/sys/arch/cobalt/cobalt: bus.c
	src/sys/arch/cobalt/include: bus.h
	src/sys/arch/evbppc/evbppc: bus_dma.c
	src/sys/arch/ews4800mips/ews4800mips: bus_dma.c
	src/sys/arch/hp700/hp700: mainbus.c
	src/sys/arch/hpcmips/hpcmips: bus_dma.c
	src/sys/arch/hpcsh/include: bus.h
	src/sys/arch/i386/i386: process_machdep.c
	src/sys/arch/m68k/m68k: bus_dma.c
	src/sys/arch/macppc/macppc: bus_dma.c
	src/sys/arch/mips/include: bus_dma.h
	src/sys/arch/mips/mips: bus_dma.c
	src/sys/arch/mipsco/mipsco: bus_dma.c
	src/sys/arch/mvme68k/mvme68k: bus_dma.c
	src/sys/arch/newsmips/include: bus.h
	src/sys/arch/newsmips/newsmips: bus.c
	src/sys/arch/playstation2/playstation2: bus_dma.c
	src/sys/arch/pmax/include: bus.h
	src/sys/arch/pmax/pmax: bus_dma.c
	src/sys/arch/powerpc/marvell: bus_dma.c
	src/sys/arch/powerpc/powerpc: bus_dma.c process_machdep.c
	src/sys/arch/sgimips/include: bus.h
	src/sys/arch/sgimips/sgimips: bus.c
	src/sys/arch/sh5/sh5: bus_dma.c
	src/sys/arch/vax/vax: bus_dma.c
	src/sys/arch/x86/x86: bus_dma.c
	src/sys/coda: coda_vnops.c
	src/sys/compat/common: vfs_syscalls_30.c vfs_syscalls_43.c
	src/sys/compat/darwin: darwin_iohidsystem.c darwin_sysctl.c
	src/sys/compat/ibcs2: ibcs2_misc.c
	src/sys/compat/irix: irix_dirent.c
	src/sys/compat/linux/common: linux_file64.c linux_misc.c
	src/sys/compat/netbsd32: netbsd32_fs.c netbsd32_socket.c
	src/sys/compat/sunos: sunos_misc.c
	src/sys/compat/sunos32: sunos32_misc.c
	src/sys/compat/svr4: svr4_misc.c
	src/sys/compat/svr4_32: svr4_32_misc.c
	src/sys/dev: audiobell.c vnd.c
	src/sys/dev/ata: wd.c
	src/sys/dev/dkwedge: dk.c
	src/sys/dev/dmover: dmover_io.c
	src/sys/dev/scsipi: scsipi_ioctl.c
	src/sys/dev/usb: ugen.c urio.c usb.c
	src/sys/fs/cd9660: cd9660_vnops.c
	src/sys/fs/msdosfs: msdosfs_vnops.c
	src/sys/fs/ntfs: ntfs_vnops.c
	src/sys/fs/smbfs: smbfs_io.c
	src/sys/fs/udf: udf_subr.c
	src/sys/fs/union: union_subr.c
	src/sys/kern: init_sysctl.c kern_ktrace.c kern_proc.c kern_subr.c
	    kern_systrace.c sys_generic.c sys_pipe.c sys_process.c sys_socket.c
	    tty_tty.c uipc_socket.c uipc_syscalls.c vfs_getcwd.c vfs_lookup.c
	    vfs_syscalls.c vfs_vnops.c vfs_xattr.c
	src/sys/miscfs/fdesc: fdesc_vnops.c
	src/sys/miscfs/genfs: genfs_vnops.c
	src/sys/miscfs/kernfs: kernfs_vnops.c
	src/sys/miscfs/portal: portal_vnops.c
	src/sys/miscfs/procfs: procfs_cmdline.c procfs_subr.c
	src/sys/miscfs/specfs: spec_vnops.c
	src/sys/netsmb: smb_dev.c smb_trantcp.c subr_mchain.c
	src/sys/nfs: nfs_bio.c nfs_boot.c nfs_serv.c nfs_socket.c nfs_subs.c
	    nfs_vnops.c
	src/sys/opencrypto: cryptodev.c
	src/sys/sys: proc.h systm.h uio.h
	src/sys/ufs/ext2fs: ext2fs_lookup.c ext2fs_readwrite.c
	src/sys/ufs/ufs: ufs_extattr.c ufs_quota.c ufs_readwrite.c ufs_vnops.c
	src/sys/uvm: uvm_extern.h uvm_map.c

Log Message:
merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/arch/algor/algor/bus_dma.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/algor/include/bus.h
cvs rdiff -r1.61 -r1.62 src/sys/arch/alpha/common/bus_dma.c
cvs rdiff -r1.32 -r1.33 src/sys/arch/alpha/common/sgmap_typedep.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/arc/arc/bus_dma.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/arc/include/bus.h
cvs rdiff -r1.12 -r1.13 src/sys/arch/arc/jazz/bus_dma_jazz.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/arc/jazz/jazzdmatlb.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/arc/jazz/jazzdmatlbvar.h
cvs rdiff -r1.47 -r1.48 src/sys/arch/arm/arm32/bus_dma.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/arm/include/bus.h
cvs rdiff -r1.41 -r1.42 src/sys/arch/atari/atari/bus.c
cvs rdiff -r1.23 -r1.24 src/sys/arch/cobalt/cobalt/bus.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/cobalt/include/bus.h
cvs rdiff -r1.11 -r1.12 src/sys/arch/evbppc/evbppc/bus_dma.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/ews4800mips/ews4800mips/bus_dma.c
cvs rdiff -r1.31 -r1.32 src/sys/arch/hp700/hp700/mainbus.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/hpcmips/hpcmips/bus_dma.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/hpcsh/include/bus.h
cvs rdiff -r1.54 -r1.55 src/sys/arch/i386/i386/process_machdep.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/m68k/m68k/bus_dma.c
cvs rdiff -r1.33 -r1.34 src/sys/arch/macppc/macppc/bus_dma.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/mips/include/bus_dma.h
cvs rdiff -r1.16 -r1.17 src/sys/arch/mips/mips/bus_dma.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/mipsco/mipsco/bus_dma.c
cvs rdiff -r1.30 -r1.31 src/sys/arch/mvme68k/mvme68k/bus_dma.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/newsmips/include/bus.h
cvs rdiff -r1.22 -r1.23 src/sys/arch/newsmips/newsmips/bus.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/playstation2/playstation2/bus_dma.c
cvs rdiff -r1.23 -r1.24 src/sys/arch/pmax/include/bus.h
cvs rdiff -r1.44 -r1.45 src/sys/arch/pmax/pmax/bus_dma.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/powerpc/marvell/bus_dma.c
cvs rdiff -r1.25 -r1.26 src/sys/arch/powerpc/powerpc/bus_dma.c
cvs rdiff -r1.20 -r1.21 src/sys/arch/powerpc/powerpc/process_machdep.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/sgimips/include/bus.h
cvs rdiff -r1.41 -r1.42 src/sys/arch/sgimips/sgimips/bus.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/sh5/sh5/bus_dma.c
cvs rdiff -r1.25 -r1.26 src/sys/arch/vax/vax/bus_dma.c
cvs rdiff -r1.28 -r1.29 src/sys/arch/x86/x86/bus_dma.c
cvs rdiff -r1.46 -r1.47 src/sys/coda/coda_vnops.c
cvs rdiff -r1.6 -r1.7 src/sys/compat/common/vfs_syscalls_30.c
cvs rdiff -r1.31 -r1.32 src/sys/compat/common/vfs_syscalls_43.c
cvs rdiff -r1.31 -r1.32 src/sys/compat/darwin/darwin_iohidsystem.c
cvs rdiff -r1.38 -r1.39 src/sys/compat/darwin/darwin_sysctl.c
cvs rdiff -r1.76 -r1.77 src/sys/compat/ibcs2/ibcs2_misc.c
cvs rdiff -r1.15 -r1.16 src/sys/compat/irix/irix_dirent.c
cvs rdiff -r1.31 -r1.32 src/sys/compat/linux/common/linux_file64.c
cvs rdiff -r1.150 -r1.151 src/sys/compat/linux/common/linux_misc.c
cvs rdiff -r1.23 -r1.24 src/sys/compat/netbsd32/netbsd32_fs.c
cvs rdiff -r1.16 -r1.17 src/sys/compat/netbsd32/netbsd32_socket.c
cvs rdiff -r1.135 -r1.136 src/sys/compat/sunos/sunos_misc.c
cvs rdiff -r1.35 -r1.36 src/sys/compat/sunos32/sunos32_misc.c
cvs rdiff -r1.115 -r1.116 src/sys/compat/svr4/svr4_misc.c
cvs rdiff -r1.34 -r1.35 src/sys/compat/svr4_32/svr4_32_misc.c
cvs rdiff -r1.2 -r1.3 src/sys/dev/audiobell.c
cvs rdiff -r1.140 -r1.141 src/sys/dev/vnd.c
cvs rdiff -r1.319 -r1.320 src/sys/dev/ata/wd.c
cvs rdiff -r1.11 -r1.12 src/sys/dev/dkwedge/dk.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/dmover/dmover_io.c
cvs rdiff -r1.57 -r1.58 src/sys/dev/scsipi/scsipi_ioctl.c
cvs rdiff -r1.78 -r1.79 src/sys/dev/usb/ugen.c
cvs rdiff -r1.21 -r1.22 src/sys/dev/usb/urio.c
cvs rdiff -r1.84 -r1.85 src/sys/dev/usb/usb.c
cvs rdiff -r1.19 -r1.20 src/sys/fs/cd9660/cd9660_vnops.c
cvs rdiff -r1.25 -r1.26 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -r1.27 -r1.28 src/sys/fs/ntfs/ntfs_vnops.c
cvs rdiff -r1.21 -r1.22 src/sys/fs/smbfs/smbfs_io.c
cvs rdiff -r1.4 -r1.5 src/sys/fs/udf/udf_subr.c
cvs rdiff -r1.15 -r1.16 src/sys/fs/union/union_subr.c
cvs rdiff -r1.62 -r1.63 src/sys/kern/init_sysctl.c
cvs rdiff -r1.100 -r1.101 src/sys/kern/kern_ktrace.c
cvs rdiff -r1.85 -r1.86 src/sys/kern/kern_proc.c
cvs rdiff -r1.125 -r1.126 src/sys/kern/kern_subr.c
cvs rdiff -r1.50 -r1.51 src/sys/kern/kern_systrace.c
cvs rdiff -r1.84 -r1.85 src/sys/kern/sys_generic.c
cvs rdiff -r1.70 -r1.71 src/sys/kern/sys_pipe.c
cvs rdiff -r1.97 -r1.98 src/sys/kern/sys_process.c
cvs rdiff -r1.45 -r1.46 src/sys/kern/sys_socket.c
cvs rdiff -r1.26 -r1.27 src/sys/kern/tty_tty.c
cvs rdiff -r1.115 -r1.116 src/sys/kern/uipc_socket.c
cvs rdiff -r1.96 -r1.97 src/sys/kern/uipc_syscalls.c
cvs rdiff -r1.29 -r1.30 src/sys/kern/vfs_getcwd.c
cvs rdiff -r1.67 -r1.68 src/sys/kern/vfs_lookup.c
cvs rdiff -r1.237 -r1.238 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.105 -r1.106 src/sys/kern/vfs_vnops.c
cvs rdiff -r1.4 -r1.5 src/sys/kern/vfs_xattr.c
cvs rdiff -r1.89 -r1.90 src/sys/miscfs/fdesc/fdesc_vnops.c
cvs rdiff -r1.121 -r1.122 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -r1.116 -r1.117 src/sys/miscfs/kernfs/kernfs_vnops.c
cvs rdiff -r1.62 -r1.63 src/sys/miscfs/portal/portal_vnops.c
cvs rdiff -r1.20 -r1.21 src/sys/miscfs/procfs/procfs_cmdline.c
cvs rdiff -r1.67 -r1.68 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -r1.85 -r1.86 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -r1.21 -r1.22 src/sys/netsmb/smb_dev.c
cvs rdiff -r1.20 -r1.21 src/sys/netsmb/smb_trantcp.c
cvs rdiff -r1.12 -r1.13 src/sys/netsmb/subr_mchain.c
cvs rdiff -r1.141 -r1.142 src/sys/nfs/nfs_bio.c
cvs rdiff -r1.62 -r1.63 src/sys/nfs/nfs_boot.c
cvs rdiff -r1.100 -r1.101 src/sys/nfs/nfs_serv.c
cvs rdiff -r1.122 -r1.123 src/sys/nfs/nfs_socket.c
cvs rdiff -r1.157 -r1.158 src/sys/nfs/nfs_subs.c
cvs rdiff -r1.230 -r1.231 src/sys/nfs/nfs_vnops.c
cvs rdiff -r1.16 -r1.17 src/sys/opencrypto/cryptodev.c
cvs rdiff -r1.212 -r1.213 src/sys/sys/proc.h
cvs rdiff -r1.183 -r1.184 src/sys/sys/systm.h
cvs rdiff -r1.33 -r1.34 src/sys/sys/uio.h
cvs rdiff -r1.39 -r1.40 src/sys/ufs/ext2fs/ext2fs_lookup.c
cvs rdiff -r1.41 -r1.42 src/sys/ufs/ext2fs/ext2fs_readwrite.c
cvs rdiff -r1.6 -r1.7 src/sys/ufs/ufs/ufs_extattr.c
cvs rdiff -r1.37 -r1.38 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -r1.66 -r1.67 src/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -r1.138 -r1.139 src/sys/ufs/ufs/ufs_vnops.c
cvs rdiff -r1.110 -r1.111 src/sys/uvm/uvm_extern.h
cvs rdiff -r1.214 -r1.215 src/sys/uvm/uvm_map.c

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