Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [rmind-uvmplock] src/sys



Module Name:    src
Committed By:   rmind
Date:           Thu May 19 03:43:06 UTC 2011

Modified Files:
        src/sys/arch/arm/arm32 [rmind-uvmplock]: pmap.c
        src/sys/arch/hppa/hppa [rmind-uvmplock]: pmap.c
        src/sys/arch/sparc64/sparc64 [rmind-uvmplock]: pmap.c
        src/sys/arch/x86/include [rmind-uvmplock]: pmap.h
        src/sys/arch/x86/x86 [rmind-uvmplock]: pmap.c
        src/sys/arch/xen/xen [rmind-uvmplock]: privcmd.c
        src/sys/coda [rmind-uvmplock]: coda_vnops.c
        src/sys/fs/adosfs [rmind-uvmplock]: advfsops.c
        src/sys/fs/cd9660 [rmind-uvmplock]: cd9660_vfsops.c
        src/sys/fs/efs [rmind-uvmplock]: efs_vfsops.c
        src/sys/fs/filecorefs [rmind-uvmplock]: filecore_vfsops.c
        src/sys/fs/hfs [rmind-uvmplock]: hfs_vfsops.c
        src/sys/fs/msdosfs [rmind-uvmplock]: msdosfs_denode.c
        src/sys/fs/nilfs [rmind-uvmplock]: nilfs_subr.c
        src/sys/fs/ntfs [rmind-uvmplock]: ntfs_vfsops.c
        src/sys/fs/ptyfs [rmind-uvmplock]: ptyfs_subr.c
        src/sys/fs/puffs [rmind-uvmplock]: puffs_node.c
        src/sys/fs/smbfs [rmind-uvmplock]: smbfs_node.c smbfs_vfsops.c
        src/sys/fs/sysvbfs [rmind-uvmplock]: sysvbfs_vfsops.c
        src/sys/fs/tmpfs [rmind-uvmplock]: tmpfs_subr.c tmpfs_vnops.c
        src/sys/fs/udf [rmind-uvmplock]: udf_subr.c
        src/sys/fs/union [rmind-uvmplock]: union_subr.c union_vnops.c
        src/sys/fs/unionfs [rmind-uvmplock]: unionfs_subr.c unionfs_vnops.c
        src/sys/kern [rmind-uvmplock]: vfs_subr.c vfs_vnode.c
        src/sys/miscfs/fdesc [rmind-uvmplock]: fdesc_vnops.c
        src/sys/miscfs/genfs [rmind-uvmplock]: layer_subr.c layer_vnops.c
        src/sys/miscfs/kernfs [rmind-uvmplock]: kernfs_subr.c
        src/sys/miscfs/procfs [rmind-uvmplock]: procfs_subr.c
        src/sys/miscfs/syncfs [rmind-uvmplock]: sync_vnops.c
        src/sys/nfs [rmind-uvmplock]: nfs_node.c
        src/sys/rump/librump/rumpvfs [rmind-uvmplock]: rumpfs.c
        src/sys/sys [rmind-uvmplock]: vnode.h
        src/sys/ufs/ext2fs [rmind-uvmplock]: ext2fs_vfsops.c
        src/sys/ufs/ffs [rmind-uvmplock]: ffs_vfsops.c
        src/sys/ufs/lfs [rmind-uvmplock]: lfs_syscalls.c lfs_vfsops.c
            lfs_vnops.c
        src/sys/ufs/mfs [rmind-uvmplock]: mfs_vfsops.c
        src/sys/uvm [rmind-uvmplock]: uvm_aobj.c uvm_bio.c uvm_device.c
            uvm_extern.h uvm_fault.c uvm_loan.c uvm_object.c

Log Message:
Implement sharing of vnode_t::v_interlock amongst vnodes:
- Lock is shared amongst UVM objects using uvm_obj_setlock() or getnewvnode().
- Adjust vnode cache to handle unsharing, add VI_LOCKSHARE flag for that.
- Use sharing in tmpfs and layerfs for underlying object.
- Simplify locking in ubc_fault().
- Sprinkle some asserts.

Discussed with ad@.


To generate a diff of this commit:
cvs rdiff -u -r1.212.2.5 -r1.212.2.6 src/sys/arch/arm/arm32/pmap.c
cvs rdiff -u -r1.71.2.5 -r1.71.2.6 src/sys/arch/hppa/hppa/pmap.c
cvs rdiff -u -r1.259.2.4 -r1.259.2.5 src/sys/arch/sparc64/sparc64/pmap.c
cvs rdiff -u -r1.29.2.9 -r1.29.2.10 src/sys/arch/x86/include/pmap.h
cvs rdiff -u -r1.105.2.14 -r1.105.2.15 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.41.4.1 -r1.41.4.2 src/sys/arch/xen/xen/privcmd.c
cvs rdiff -u -r1.71.4.3 -r1.71.4.4 src/sys/coda/coda_vnops.c
cvs rdiff -u -r1.59.4.1 -r1.59.4.2 src/sys/fs/adosfs/advfsops.c
cvs rdiff -u -r1.70.4.1 -r1.70.4.2 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -u -r1.19.4.2 -r1.19.4.3 src/sys/fs/efs/efs_vfsops.c
cvs rdiff -u -r1.61.4.2 -r1.61.4.3 src/sys/fs/filecorefs/filecore_vfsops.c
cvs rdiff -u -r1.25.4.1 -r1.25.4.2 src/sys/fs/hfs/hfs_vfsops.c
cvs rdiff -u -r1.37.4.5 -r1.37.4.6 src/sys/fs/msdosfs/msdosfs_denode.c
cvs rdiff -u -r1.4.6.3 -r1.4.6.4 src/sys/fs/nilfs/nilfs_subr.c
cvs rdiff -u -r1.80.4.2 -r1.80.4.3 src/sys/fs/ntfs/ntfs_vfsops.c
cvs rdiff -u -r1.18.4.3 -r1.18.4.4 src/sys/fs/ptyfs/ptyfs_subr.c
cvs rdiff -u -r1.15.4.2 -r1.15.4.3 src/sys/fs/puffs/puffs_node.c
cvs rdiff -u -r1.42.4.3 -r1.42.4.4 src/sys/fs/smbfs/smbfs_node.c
cvs rdiff -u -r1.90.4.3 -r1.90.4.4 src/sys/fs/smbfs/smbfs_vfsops.c
cvs rdiff -u -r1.31.4.3 -r1.31.4.4 src/sys/fs/sysvbfs/sysvbfs_vfsops.c
cvs rdiff -u -r1.56.4.4 -r1.56.4.5 src/sys/fs/tmpfs/tmpfs_subr.c
cvs rdiff -u -r1.66.4.4 -r1.66.4.5 src/sys/fs/tmpfs/tmpfs_vnops.c
cvs rdiff -u -r1.104.2.3 -r1.104.2.4 src/sys/fs/udf/udf_subr.c
cvs rdiff -u -r1.35.4.2 -r1.35.4.3 src/sys/fs/union/union_subr.c
cvs rdiff -u -r1.34.4.4 -r1.34.4.5 src/sys/fs/union/union_vnops.c
cvs rdiff -u -r1.5.4.3 -r1.5.4.4 src/sys/fs/unionfs/unionfs_subr.c
cvs rdiff -u -r1.1.38.3 -r1.1.38.4 src/sys/fs/unionfs/unionfs_vnops.c
cvs rdiff -u -r1.398.2.5 -r1.398.2.6 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.5.2.2 -r1.5.2.3 src/sys/kern/vfs_vnode.c
cvs rdiff -u -r1.109.4.2 -r1.109.4.3 src/sys/miscfs/fdesc/fdesc_vnops.c
cvs rdiff -u -r1.28.4.3 -r1.28.4.4 src/sys/miscfs/genfs/layer_subr.c
cvs rdiff -u -r1.39.4.4 -r1.39.4.5 src/sys/miscfs/genfs/layer_vnops.c
cvs rdiff -u -r1.20.4.3 -r1.20.4.4 src/sys/miscfs/kernfs/kernfs_subr.c
cvs rdiff -u -r1.95.4.3 -r1.95.4.4 src/sys/miscfs/procfs/procfs_subr.c
cvs rdiff -u -r1.27.4.2 -r1.27.4.3 src/sys/miscfs/syncfs/sync_vnops.c
cvs rdiff -u -r1.110.4.3 -r1.110.4.4 src/sys/nfs/nfs_node.c
cvs rdiff -u -r1.37.2.5 -r1.37.2.6 src/sys/rump/librump/rumpvfs/rumpfs.c
cvs rdiff -u -r1.214.2.5 -r1.214.2.6 src/sys/sys/vnode.h
cvs rdiff -u -r1.156.2.3 -r1.156.2.4 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -u -r1.258.2.4 -r1.258.2.5 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.136.2.2 -r1.136.2.3 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -u -r1.286.2.3 -r1.286.2.4 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.226.4.4 -r1.226.4.5 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -u -r1.102 -r1.102.2.1 src/sys/ufs/mfs/mfs_vfsops.c
cvs rdiff -u -r1.108.4.3 -r1.108.4.4 src/sys/uvm/uvm_aobj.c
cvs rdiff -u -r1.68.4.6 -r1.68.4.7 src/sys/uvm/uvm_bio.c
cvs rdiff -u -r1.57.4.3 -r1.57.4.4 src/sys/uvm/uvm_device.c
cvs rdiff -u -r1.162.2.6 -r1.162.2.7 src/sys/uvm/uvm_extern.h
cvs rdiff -u -r1.173.2.6 -r1.173.2.7 src/sys/uvm/uvm_fault.c
cvs rdiff -u -r1.77.4.3 -r1.77.4.4 src/sys/uvm/uvm_loan.c
cvs rdiff -u -r1.7.4.5 -r1.7.4.6 src/sys/uvm/uvm_object.c

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



Home | Main Index | Thread Index | Old Index