From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Fri, 5 May 2006 13:15:02 -0700 (PDT) |
dillon 2006/05/05 13:15:02 PDT DragonFly src repository Modified files: sys/bus/usb ehci.c 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 sys/vfs/nfs nfsnode.h sys/vfs/ntfs ntfs.h sys/vfs/nwfs nwfs_node.c sys/vfs/smbfs smbfs_node.c sys/vfs/specfs spec_vnops.c sys/vm vm_fault.c vm_map.h vm_pageout.c Log: Remove the thread pointer argument to lockmgr(). All lockmgr() ops use the current thread. Move the lockmgr code in BUF_KERNPROC to lockmgr_kernproc(). This code allows the lock owner to be set to a special value so any thread can unlock the lock and is required for B_ASYNC I/O so biodone() can release the lock. Revision Changes Path 1.21 +2 -2 src/sys/bus/usb/ehci.c 1.20 +8 -8 src/sys/dev/agp/agp.c 1.15 +2 -2 src/sys/dev/drm/drm_os_freebsd.h 1.15 +7 -7 src/sys/dev/pccard/pccbb/pccbb.c 1.10 +6 -6 src/sys/kern/imgact_resident.c 1.27 +10 -10 src/sys/kern/kern_linker.c 1.19 +14 -2 src/sys/kern/kern_lock.c 1.21 +5 -4 src/sys/kern/kern_sysctl.c 1.37 +4 -4 src/sys/kern/vfs_default.c 1.15 +2 -2 src/sys/kern/vfs_lock.c 1.15 +2 -2 src/sys/kern/vfs_mount.c 1.83 +3 -3 src/sys/kern/vfs_syscalls.c 1.12 +16 -16 src/sys/netproto/ncp/ncp_conn.c 1.15 +10 -12 src/sys/netproto/smb/smb_conn.c 1.17 +4 -8 src/sys/sys/buf2.h 1.16 +4 -4 src/sys/sys/lock.h 1.36 +3 -5 src/sys/vfs/coda/coda_vnops.c 1.17 +1 -1 src/sys/vfs/hpfs/hpfs.h 1.17 +2 -2 src/sys/vfs/nfs/nfsnode.h 1.10 +1 -1 src/sys/vfs/ntfs/ntfs.h 1.21 +9 -9 src/sys/vfs/nwfs/nwfs_node.c 1.19 +2 -3 src/sys/vfs/smbfs/smbfs_node.c 1.41 +2 -2 src/sys/vfs/specfs/spec_vnops.c 1.23 +1 -1 src/sys/vm/vm_fault.c 1.20 +13 -15 src/sys/vm/vm_map.h 1.20 +1 -1 src/sys/vm/vm_pageout.c http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ehci.c.diff?r1=1.20&r2=1.21&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/agp/agp.c.diff?r1=1.19&r2=1.20&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/drm/drm_os_freebsd.h.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/pccard/pccbb/pccbb.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_resident.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_linker.c.diff?r1=1.26&r2=1.27&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_lock.c.diff?r1=1.18&r2=1.19&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_sysctl.c.diff?r1=1.20&r2=1.21&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_default.c.diff?r1=1.36&r2=1.37&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_lock.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_mount.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.82&r2=1.83&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ncp/ncp_conn.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_conn.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/buf2.h.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/lock.h.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/coda/coda_vnops.c.diff?r1=1.35&r2=1.36&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs.h.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfsnode.h.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs.h.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nwfs/nwfs_node.c.diff?r1=1.20&r2=1.21&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/smbfs/smbfs_node.c.diff?r1=1.18&r2=1.19&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/specfs/spec_vnops.c.diff?r1=1.40&r2=1.41&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_fault.c.diff?r1=1.22&r2=1.23&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_map.h.diff?r1=1.19&r2=1.20&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_pageout.c.diff?r1=1.19&r2=1.20&f=u