Remove the now unused interlock argument to the lockmgr() procedure.
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 23 Apr 2006 03:08:04 +0000 (03:08 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 23 Apr 2006 03:08:04 +0000 (03:08 +0000)
commit056f4388c614e3072003326d1753db5548e5768b
tree3a3fc5dda9439cbeb3f6626f7757180bfbd4e13a
parent0410cd2501bc14bb5dc9bde8c38fba269da8ef0e
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.
29 files changed:
sys/bus/usb/ehci.c
sys/bus/usb/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
sys/kern/kern_linker.c
sys/kern/kern_lock.c
sys/kern/kern_sysctl.c
sys/kern/vfs_default.c
sys/kern/vfs_lock.c
sys/kern/vfs_mount.c
sys/kern/vfs_syscalls.c
sys/netproto/ncp/ncp_conn.c
sys/netproto/smb/smb_conn.c
sys/sys/buf2.h
sys/sys/lock.h
sys/vfs/coda/coda_vnops.c
sys/vfs/hpfs/hpfs.h
sys/vfs/hpfs/hpfs_subr.h
sys/vfs/hpfs/hpfs_vfsops.c
sys/vfs/nfs/nfsnode.h
sys/vfs/ntfs/ntfs.h
sys/vfs/ntfs/ntfs_subr.c
sys/vfs/nwfs/nwfs_node.c
sys/vfs/smbfs/smbfs_node.c
sys/vm/vm_fault.c
sys/vm/vm_map.h
sys/vm/vm_pageout.c