Subject: CVS commit: [vmlocking] src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 05/13/2007 17:36:47
Module Name: src
Committed By: ad
Date: Sun May 13 17:36:47 UTC 2007
Modified Files:
src/sys/arch/x86/x86 [vmlocking]: ipmi.c
src/sys/compat/common [vmlocking]: vfs_syscalls_43.c
src/sys/compat/darwin [vmlocking]: darwin_iohidsystem.c
src/sys/dev [vmlocking]: ccd.c cgd.c dksubr.c fss.c ld.c ldvar.h md.c
vnd.c
src/sys/dev/apm [vmlocking]: apm.c
src/sys/dev/ata [vmlocking]: ata.c ld_ataraid.c wd.c
src/sys/dev/cardbus [vmlocking]: cardslot.c
src/sys/dev/dkwedge [vmlocking]: dk.c
src/sys/dev/dmover [vmlocking]: swdmover.c
src/sys/dev/hpc [vmlocking]: hpcfb.c
src/sys/dev/hpc/apm [vmlocking]: apmdev.c
src/sys/dev/i2c [vmlocking]: i2c.c
src/sys/dev/i2o [vmlocking]: iop.c ld_iop.c
src/sys/dev/ic [vmlocking]: i82365.c isp_netbsd.c ld_aac.c ld_cac.c
ld_icp.c ld_mlx.c mlx.c tcic2.c
src/sys/dev/ieee1394 [vmlocking]: fw_port.h fwdev.c fwmem.c sbp.c
src/sys/dev/isa [vmlocking]: fd.c
src/sys/dev/mca [vmlocking]: ed_mca.c edc_mca.c
src/sys/dev/onewire [vmlocking]: onewire.c
src/sys/dev/pci [vmlocking]: amr.c ld_amr.c ld_twa.c ld_twe.c mly.c
src/sys/dev/pckbport [vmlocking]: pms.c
src/sys/dev/raidframe [vmlocking]: rf_threadstuff.h
src/sys/dev/sbus [vmlocking]: stp4020.c
src/sys/dev/scsipi [vmlocking]: cd.c scsipi_base.c scsipi_ioctl.c sd.c
ss.c st.c
src/sys/dev/spi [vmlocking]: spiflash.c
src/sys/dev/sysmon [vmlocking]: sysmon_taskq.c
src/sys/dev/usb [vmlocking]: usb.c ustir.c
src/sys/fs/cd9660 [vmlocking]: cd9660_lookup.c cd9660_node.c
cd9660_rrip.c cd9660_vfsops.c cd9660_vnops.c
src/sys/fs/hfs [vmlocking]: hfs_subr.c
src/sys/fs/msdosfs [vmlocking]: msdosfs_denode.c msdosfs_fat.c
msdosfs_lookup.c msdosfs_vfsops.c msdosfs_vnops.c
src/sys/fs/ntfs [vmlocking]: ntfs.h ntfs_subr.c ntfs_vfsops.c
ntfs_vnops.c
src/sys/fs/puffs [vmlocking]: puffs_transport.c
src/sys/fs/smbfs [vmlocking]: smbfs_kq.c
src/sys/fs/tmpfs [vmlocking]: tmpfs_vnops.c
src/sys/kern [vmlocking]: init_main.c kern_acct.c kern_descrip.c
kern_kthread.c kern_ktrace.c kern_mutex.c kern_resource.c
kern_subr.c subr_bufq.c subr_disk_mbr.c subr_extent.c
subr_workqueue.c vfs_bio.c vfs_cache.c vfs_lockf.c vfs_subr.c
vfs_syscalls.c
src/sys/miscfs/deadfs [vmlocking]: dead_vnops.c
src/sys/miscfs/specfs [vmlocking]: spec_vnops.c
src/sys/net [vmlocking]: if_gre.c
src/sys/netsmb [vmlocking]: smb_iod.c
src/sys/nfs [vmlocking]: nfs_bio.c nfs_kq.c nfs_syscalls.c
src/sys/opencrypto [vmlocking]: crypto.c
src/sys/sys [vmlocking]: buf.h eventvar.h extent.h kthread.h lwp.h
mount.h resourcevar.h
src/sys/ufs/ext2fs [vmlocking]: ext2fs_alloc.c ext2fs_balloc.c
ext2fs_bmap.c ext2fs_inode.c ext2fs_lookup.c ext2fs_readwrite.c
ext2fs_subr.c ext2fs_vfsops.c
src/sys/ufs/ffs [vmlocking]: ffs_alloc.c ffs_balloc.c ffs_inode.c
ffs_snapshot.c ffs_softdep.c ffs_vfsops.c ffs_vnops.c
src/sys/ufs/lfs [vmlocking]: lfs.h lfs_alloc.c lfs_balloc.c lfs_bio.c
lfs_inode.c lfs_rfw.c lfs_segment.c lfs_syscalls.c lfs_vfsops.c
lfs_vnops.c
src/sys/ufs/mfs [vmlocking]: mfs_vnops.c
src/sys/ufs/ufs [vmlocking]: ufs_bmap.c ufs_dirhash.c ufs_lookup.c
ufs_readwrite.c ufs_vnops.c
src/sys/uvm [vmlocking]: uvm_pager.c uvm_swap.c
Log Message:
- Pass the error number and residual count to biodone(), and let it handle
setting error indicators. Prepare to eliminate B_ERROR.
- Add a flag argument to brelse() to be set into the buf's flags, instead
of doing it directly. Typically used to set B_INVAL.
- Add a "struct cpu_info *" argument to kthread_create(), to be used to
create bound threads. Change "bool mpsafe" to "int flags".
- Allow exit of LWPs in the IDL state when (l != curlwp).
- More locking fixes & conversion to the new API.
To generate a diff of this commit:
cvs rdiff -r1.5.6.2 -r1.5.6.3 src/sys/arch/x86/x86/ipmi.c
cvs rdiff -r1.37 -r1.37.2.1 src/sys/compat/common/vfs_syscalls_43.c
cvs rdiff -r1.38.2.3 -r1.38.2.4 src/sys/compat/darwin/darwin_iohidsystem.c
cvs rdiff -r1.118.2.2 -r1.118.2.3 src/sys/dev/ccd.c
cvs rdiff -r1.44 -r1.44.2.1 src/sys/dev/cgd.c
cvs rdiff -r1.28 -r1.28.2.1 src/sys/dev/dksubr.c
cvs rdiff -r1.32.2.4 -r1.32.2.5 src/sys/dev/fss.c
cvs rdiff -r1.46 -r1.46.2.1 src/sys/dev/ld.c
cvs rdiff -r1.12 -r1.12.6.1 src/sys/dev/ldvar.h
cvs rdiff -r1.48 -r1.48.2.1 src/sys/dev/md.c
cvs rdiff -r1.165.2.4 -r1.165.2.5 src/sys/dev/vnd.c
cvs rdiff -r1.10 -r1.10.2.1 src/sys/dev/apm/apm.c
cvs rdiff -r1.86.2.4 -r1.86.2.5 src/sys/dev/ata/ata.c
cvs rdiff -r1.19.2.1 -r1.19.2.2 src/sys/dev/ata/ld_ataraid.c
cvs rdiff -r1.337.2.2 -r1.337.2.3 src/sys/dev/ata/wd.c
cvs rdiff -r1.34.6.2 -r1.34.6.3 src/sys/dev/cardbus/cardslot.c
cvs rdiff -r1.22.2.1 -r1.22.2.2 src/sys/dev/dkwedge/dk.c
cvs rdiff -r1.9 -r1.9.30.1 src/sys/dev/dmover/swdmover.c
cvs rdiff -r1.41 -r1.41.2.1 src/sys/dev/hpc/hpcfb.c
cvs rdiff -r1.10 -r1.10.2.1 src/sys/dev/hpc/apm/apmdev.c
cvs rdiff -r1.13.6.2 -r1.13.6.3 src/sys/dev/i2c/i2c.c
cvs rdiff -r1.64.2.3 -r1.64.2.4 src/sys/dev/i2o/iop.c
cvs rdiff -r1.23 -r1.23.8.1 src/sys/dev/i2o/ld_iop.c
cvs rdiff -r1.98.2.2 -r1.98.2.3 src/sys/dev/ic/i82365.c
cvs rdiff -r1.73.2.2 -r1.73.2.3 src/sys/dev/ic/isp_netbsd.c
cvs rdiff -r1.13 -r1.13.8.1 src/sys/dev/ic/ld_aac.c src/sys/dev/ic/ld_mlx.c
cvs rdiff -r1.17 -r1.17.6.1 src/sys/dev/ic/ld_cac.c
cvs rdiff -r1.16 -r1.16.8.1 src/sys/dev/ic/ld_icp.c
cvs rdiff -r1.51.2.2 -r1.51.2.3 src/sys/dev/ic/mlx.c
cvs rdiff -r1.26.8.2 -r1.26.8.3 src/sys/dev/ic/tcic2.c
cvs rdiff -r1.21.2.2 -r1.21.2.3 src/sys/dev/ieee1394/fw_port.h
cvs rdiff -r1.9 -r1.9.2.1 src/sys/dev/ieee1394/fwdev.c
cvs rdiff -r1.3 -r1.3.2.1 src/sys/dev/ieee1394/fwmem.c
cvs rdiff -r1.15.2.2 -r1.15.2.3 src/sys/dev/ieee1394/sbp.c
cvs rdiff -r1.73 -r1.73.2.1 src/sys/dev/isa/fd.c
cvs rdiff -r1.35 -r1.35.2.1 src/sys/dev/mca/ed_mca.c
cvs rdiff -r1.35.8.2 -r1.35.8.3 src/sys/dev/mca/edc_mca.c
cvs rdiff -r1.4.8.2 -r1.4.8.3 src/sys/dev/onewire/onewire.c
cvs rdiff -r1.44.2.2 -r1.44.2.3 src/sys/dev/pci/amr.c
cvs rdiff -r1.12 -r1.12.8.1 src/sys/dev/pci/ld_amr.c
cvs rdiff -r1.5.6.1 -r1.5.6.2 src/sys/dev/pci/ld_twa.c
cvs rdiff -r1.26.8.1 -r1.26.8.2 src/sys/dev/pci/ld_twe.c
cvs rdiff -r1.34.2.2 -r1.34.2.3 src/sys/dev/pci/mly.c
cvs rdiff -r1.17.2.2 -r1.17.2.3 src/sys/dev/pckbport/pms.c
cvs rdiff -r1.21.30.2 -r1.21.30.3 src/sys/dev/raidframe/rf_threadstuff.h
cvs rdiff -r1.49 -r1.49.6.1 src/sys/dev/sbus/stp4020.c
cvs rdiff -r1.262 -r1.262.2.1 src/sys/dev/scsipi/cd.c
cvs rdiff -r1.143.6.4 -r1.143.6.5 src/sys/dev/scsipi/scsipi_base.c
cvs rdiff -r1.62.2.1 -r1.62.2.2 src/sys/dev/scsipi/scsipi_ioctl.c
cvs rdiff -r1.261 -r1.261.2.1 src/sys/dev/scsipi/sd.c
cvs rdiff -r1.70 -r1.70.2.1 src/sys/dev/scsipi/ss.c
cvs rdiff -r1.196 -r1.196.2.1 src/sys/dev/scsipi/st.c
cvs rdiff -r1.3.2.1 -r1.3.2.2 src/sys/dev/spi/spiflash.c
cvs rdiff -r1.7.8.2 -r1.7.8.3 src/sys/dev/sysmon/sysmon_taskq.c
cvs rdiff -r1.96.2.1 -r1.96.2.2 src/sys/dev/usb/usb.c
cvs rdiff -r1.18.2.3 -r1.18.2.4 src/sys/dev/usb/ustir.c
cvs rdiff -r1.12 -r1.12.6.1 src/sys/fs/cd9660/cd9660_lookup.c
cvs rdiff -r1.14.4.2 -r1.14.4.3 src/sys/fs/cd9660/cd9660_node.c
cvs rdiff -r1.13 -r1.13.2.1 src/sys/fs/cd9660/cd9660_rrip.c
cvs rdiff -r1.40.2.1 -r1.40.2.2 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -r1.26 -r1.26.2.1 src/sys/fs/cd9660/cd9660_vnops.c
cvs rdiff -r1.2.2.1 -r1.2.2.2 src/sys/fs/hfs/hfs_subr.c
cvs rdiff -r1.19.2.2 -r1.19.2.3 src/sys/fs/msdosfs/msdosfs_denode.c
cvs rdiff -r1.13 -r1.13.2.1 src/sys/fs/msdosfs/msdosfs_fat.c
cvs rdiff -r1.12 -r1.12.2.1 src/sys/fs/msdosfs/msdosfs_lookup.c
cvs rdiff -r1.44.4.1 -r1.44.4.2 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -r1.38.2.1 -r1.38.2.2 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -r1.16 -r1.16.2.1 src/sys/fs/ntfs/ntfs.h
cvs rdiff -r1.30.2.1 -r1.30.2.2 src/sys/fs/ntfs/ntfs_subr.c
cvs rdiff -r1.49.2.1 -r1.49.2.2 src/sys/fs/ntfs/ntfs_vfsops.c
cvs rdiff -r1.33 -r1.33.2.1 src/sys/fs/ntfs/ntfs_vnops.c
cvs rdiff -r1.8.6.4 -r1.8.6.5 src/sys/fs/puffs/puffs_transport.c
cvs rdiff -r1.14.6.2 -r1.14.6.3 src/sys/fs/smbfs/smbfs_kq.c
cvs rdiff -r1.37.4.1 -r1.37.4.2 src/sys/fs/tmpfs/tmpfs_vnops.c
cvs rdiff -r1.299.2.7 -r1.299.2.8 src/sys/kern/init_main.c
cvs rdiff -r1.73.2.2 -r1.73.2.3 src/sys/kern/kern_acct.c
cvs rdiff -r1.153.2.3 -r1.153.2.4 src/sys/kern/kern_descrip.c
cvs rdiff -r1.16.6.3 -r1.16.6.4 src/sys/kern/kern_kthread.c
cvs rdiff -r1.119.2.5 -r1.119.2.6 src/sys/kern/kern_ktrace.c
cvs rdiff -r1.11.2.6 -r1.11.2.7 src/sys/kern/kern_mutex.c
cvs rdiff -r1.116.2.1 -r1.116.2.2 src/sys/kern/kern_resource.c
cvs rdiff -r1.156.2.1 -r1.156.2.2 src/sys/kern/kern_subr.c
cvs rdiff -r1.12 -r1.12.32.1 src/sys/kern/subr_bufq.c
cvs rdiff -r1.26 -r1.26.2.1 src/sys/kern/subr_disk_mbr.c
cvs rdiff -r1.62.2.2 -r1.62.2.3 src/sys/kern/subr_extent.c
cvs rdiff -r1.12.2.3 -r1.12.2.4 src/sys/kern/subr_workqueue.c
cvs rdiff -r1.170.2.6 -r1.170.2.7 src/sys/kern/vfs_bio.c
cvs rdiff -r1.68.6.1 -r1.68.6.2 src/sys/kern/vfs_cache.c
cvs rdiff -r1.58.2.3 -r1.58.2.4 src/sys/kern/vfs_lockf.c
cvs rdiff -r1.283.2.5 -r1.283.2.6 src/sys/kern/vfs_subr.c
cvs rdiff -r1.306.2.4 -r1.306.2.5 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.43.6.2 -r1.43.6.3 src/sys/miscfs/deadfs/dead_vnops.c
cvs rdiff -r1.98.2.3 -r1.98.2.4 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -r1.88.2.3 -r1.88.2.4 src/sys/net/if_gre.c
cvs rdiff -r1.26.18.3 -r1.26.18.4 src/sys/netsmb/smb_iod.c
cvs rdiff -r1.151.2.3 -r1.151.2.4 src/sys/nfs/nfs_bio.c
cvs rdiff -r1.13.8.2 -r1.13.8.3 src/sys/nfs/nfs_kq.c
cvs rdiff -r1.107.2.5 -r1.107.2.6 src/sys/nfs/nfs_syscalls.c
cvs rdiff -r1.18.6.3 -r1.18.6.4 src/sys/opencrypto/crypto.c
cvs rdiff -r1.95.2.1 -r1.95.2.2 src/sys/sys/buf.h
cvs rdiff -r1.6 -r1.6.30.1 src/sys/sys/eventvar.h
cvs rdiff -r1.15 -r1.15.2.1 src/sys/sys/extent.h
cvs rdiff -r1.4.82.2 -r1.4.82.3 src/sys/sys/kthread.h
cvs rdiff -r1.56.2.6 -r1.56.2.7 src/sys/sys/lwp.h
cvs rdiff -r1.155.2.2 -r1.155.2.3 src/sys/sys/mount.h
cvs rdiff -r1.35.2.1 -r1.35.2.2 src/sys/sys/resourcevar.h
cvs rdiff -r1.34 -r1.34.6.1 src/sys/ufs/ext2fs/ext2fs_alloc.c
cvs rdiff -r1.31 -r1.31.8.1 src/sys/ufs/ext2fs/ext2fs_balloc.c
cvs rdiff -r1.21 -r1.21.30.1 src/sys/ufs/ext2fs/ext2fs_bmap.c
cvs rdiff -r1.57.2.1 -r1.57.2.2 src/sys/ufs/ext2fs/ext2fs_inode.c
cvs rdiff -r1.50.2.1 -r1.50.2.2 src/sys/ufs/ext2fs/ext2fs_lookup.c
cvs rdiff -r1.45.4.1 -r1.45.4.2 src/sys/ufs/ext2fs/ext2fs_readwrite.c
cvs rdiff -r1.24 -r1.24.14.1 src/sys/ufs/ext2fs/ext2fs_subr.c
cvs rdiff -r1.109.2.2 -r1.109.2.3 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -r1.98.2.3 -r1.98.2.4 src/sys/ufs/ffs/ffs_alloc.c
cvs rdiff -r1.44.6.1 -r1.44.6.2 src/sys/ufs/ffs/ffs_balloc.c
cvs rdiff -r1.86.2.2 -r1.86.2.3 src/sys/ufs/ffs/ffs_inode.c
cvs rdiff -r1.43.2.3 -r1.43.2.4 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -r1.86.2.7 -r1.86.2.8 src/sys/ufs/ffs/ffs_softdep.c
cvs rdiff -r1.196.6.5 -r1.196.6.6 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -r1.86.4.2 -r1.86.4.3 src/sys/ufs/ffs/ffs_vnops.c
cvs rdiff -r1.118.6.1 -r1.118.6.2 src/sys/ufs/lfs/lfs.h
cvs rdiff -r1.100.6.1 -r1.100.6.2 src/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -r1.62.6.1 -r1.62.6.2 src/sys/ufs/lfs/lfs_balloc.c
cvs rdiff -r1.98.8.1 -r1.98.8.2 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -r1.107.2.1 -r1.107.2.2 src/sys/ufs/lfs/lfs_inode.c
cvs rdiff -r1.3.16.1 -r1.3.16.2 src/sys/ufs/lfs/lfs_rfw.c
cvs rdiff -r1.198.2.2 -r1.198.2.3 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.122.2.1 -r1.122.2.2 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -r1.231.4.4 -r1.231.4.5 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.201.2.4 -r1.201.2.5 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -r1.44 -r1.44.2.1 src/sys/ufs/mfs/mfs_vnops.c
cvs rdiff -r1.44 -r1.44.4.1 src/sys/ufs/ufs/ufs_bmap.c
cvs rdiff -r1.13.2.2 -r1.13.2.3 src/sys/ufs/ufs/ufs_dirhash.c
cvs rdiff -r1.88.2.1 -r1.88.2.2 src/sys/ufs/ufs/ufs_lookup.c
cvs rdiff -r1.76.4.1 -r1.76.4.2 src/sys/ufs/ufs/ufs_readwrite.c
cvs rdiff -r1.152.2.1 -r1.152.2.2 src/sys/ufs/ufs/ufs_vnops.c
cvs rdiff -r1.81.4.3 -r1.81.4.4 src/sys/uvm/uvm_pager.c
cvs rdiff -r1.122.2.5 -r1.122.2.6 src/sys/uvm/uvm_swap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.