From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Sat, 22 Apr 2006 20:08:04 -0700 (PDT) |
dillon 2006/04/22 20:08:04 PDT DragonFly src repository Modified files: sys/bus/usb ehci.c usb_port.h sys/dev/agp agp.c sys/dev/drm drm_os_freebsd.h sys/dev/pccard/pccbb pccbb.c sys/kern imgact_resident.c kern_linker.c kern_lock.c kern_sysctl.c vfs_default.c vfs_lock.c vfs_mount.c vfs_syscalls.c sys/netproto/ncp ncp_conn.c sys/netproto/smb smb_conn.c sys/sys buf2.h lock.h sys/vfs/coda coda_vnops.c sys/vfs/hpfs hpfs.h hpfs_subr.h hpfs_vfsops.c sys/vfs/nfs nfsnode.h sys/vfs/ntfs ntfs.h ntfs_subr.c sys/vfs/nwfs nwfs_node.c sys/vfs/smbfs smbfs_node.c sys/vm vm_fault.c vm_map.h vm_pageout.c Log: Remove the now unused interlock argument to the lockmgr() procedure. This argument has been abused over the years by kernel programmers attempting to optimize certain locking and data modification sequences, resulting in a virtually unreadable code in some cases. The interlock also made porting between BSDs difficult as each BSD implemented their interlock differently. DragonFly has slowly removed use of the interlock argument and we can now finally be rid of it entirely. Revision Changes Path 1.18 +2 -2 src/sys/bus/usb/ehci.c 1.15 +0 -4 src/sys/bus/usb/usb_port.h 1.19 +8 -8 src/sys/dev/agp/agp.c 1.14 +2 -2 src/sys/dev/drm/drm_os_freebsd.h 1.14 +7 -7 src/sys/dev/pccard/pccbb/pccbb.c 1.9 +6 -6 src/sys/kern/imgact_resident.c 1.26 +10 -10 src/sys/kern/kern_linker.c 1.18 +3 -10 src/sys/kern/kern_lock.c 1.20 +4 -4 src/sys/kern/kern_sysctl.c 1.33 +3 -5 src/sys/kern/vfs_default.c 1.14 +2 -2 src/sys/kern/vfs_lock.c 1.14 +2 -2 src/sys/kern/vfs_mount.c 1.82 +3 -3 src/sys/kern/vfs_syscalls.c 1.11 +16 -16 src/sys/netproto/ncp/ncp_conn.c 1.14 +10 -10 src/sys/netproto/smb/smb_conn.c 1.16 +3 -4 src/sys/sys/buf2.h 1.14 +5 -8 src/sys/sys/lock.h 1.34 +3 -3 src/sys/vfs/coda/coda_vnops.c 1.16 +2 -2 src/sys/vfs/hpfs/hpfs.h 1.3 +1 -6 src/sys/vfs/hpfs/hpfs_subr.h 1.33 +2 -2 src/sys/vfs/hpfs/hpfs_vfsops.c 1.16 +2 -2 src/sys/vfs/nfs/nfsnode.h 1.9 +2 -2 src/sys/vfs/ntfs/ntfs.h 1.23 +8 -8 src/sys/vfs/ntfs/ntfs_subr.c 1.20 +9 -9 src/sys/vfs/nwfs/nwfs_node.c 1.18 +2 -2 src/sys/vfs/smbfs/smbfs_node.c 1.22 +1 -1 src/sys/vm/vm_fault.c 1.19 +12 -12 src/sys/vm/vm_map.h 1.19 +1 -1 src/sys/vm/vm_pageout.c http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ehci.c.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/usb_port.h.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/agp/agp.c.diff?r1=1.18&r2=1.19&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/drm/drm_os_freebsd.h.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/pccard/pccbb/pccbb.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_resident.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_linker.c.diff?r1=1.25&r2=1.26&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_lock.c.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_sysctl.c.diff?r1=1.19&r2=1.20&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_default.c.diff?r1=1.32&r2=1.33&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_lock.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_mount.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.81&r2=1.82&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ncp/ncp_conn.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_conn.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/buf2.h.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/lock.h.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/coda/coda_vnops.c.diff?r1=1.33&r2=1.34&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs.h.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs_subr.h.diff?r1=1.2&r2=1.3&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs_vfsops.c.diff?r1=1.32&r2=1.33&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfsnode.h.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs.h.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs_subr.c.diff?r1=1.22&r2=1.23&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nwfs/nwfs_node.c.diff?r1=1.19&r2=1.20&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/smbfs/smbfs_node.c.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_fault.c.diff?r1=1.21&r2=1.22&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_map.h.diff?r1=1.18&r2=1.19&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_pageout.c.diff?r1=1.18&r2=1.19&f=u