From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Thu, 2 Mar 2006 11:08:00 -0800 (PST) |
dillon 2006/03/02 11:08:00 PST DragonFly src repository Modified files: sys/bus/usb ehci.c sys/dev/agp agp.c sys/dev/drm drm_drv.h sys/dev/pccard/pccbb pccbb.c sys/kern imgact_resident.c kern_linker.c kern_lock.c kern_sysctl.c vfs_bio.c vfs_lock.c vfs_mount.c vfs_subr.c vfs_syscalls.c sys/netproto/ncp ncp_conn.c sys/netproto/smb smb_conn.c sys/sys buf2.h lock.h sys/vfs/hpfs hpfs_hash.c sys/vfs/nfs nfs_node.c nfs_vnops.c sys/vfs/ntfs ntfs_ihash.c ntfs_subr.c sys/vfs/nwfs nwfs_node.c sys/vfs/smbfs smbfs_vfsops.c sys/vm vm_map.c Log: Pass LK_PCATCH instead of trying to store tsleep flags in the lock structure, so multiple entities competing for the same lock do not use unexpected flags when sleeping. Only NFS really uses PCATCH with lockmgr locks. Revision Changes Path 1.17 +1 -1 src/sys/bus/usb/ehci.c 1.17 +7 -7 src/sys/dev/agp/agp.c 1.12 +1 -1 src/sys/dev/drm/drm_drv.h 1.13 +1 -1 src/sys/dev/pccard/pccbb/pccbb.c 1.8 +1 -1 src/sys/kern/imgact_resident.c 1.25 +1 -1 src/sys/kern/kern_linker.c 1.16 +10 -9 src/sys/kern/kern_lock.c 1.19 +2 -2 src/sys/kern/kern_sysctl.c 1.55 +7 -3 src/sys/kern/vfs_bio.c 1.9 +2 -2 src/sys/kern/vfs_lock.c 1.12 +1 -1 src/sys/kern/vfs_mount.c 1.67 +6 -5 src/sys/kern/vfs_subr.c 1.77 +1 -1 src/sys/kern/vfs_syscalls.c 1.9 +3 -3 src/sys/netproto/ncp/ncp_conn.c 1.10 +1 -1 src/sys/netproto/smb/smb_conn.c 1.13 +6 -5 src/sys/sys/buf2.h 1.12 +5 -4 src/sys/sys/lock.h 1.13 +1 -1 src/sys/vfs/hpfs/hpfs_hash.c 1.20 +4 -4 src/sys/vfs/nfs/nfs_node.c 1.47 +5 -4 src/sys/vfs/nfs/nfs_vnops.c 1.10 +1 -1 src/sys/vfs/ntfs/ntfs_ihash.c 1.19 +2 -2 src/sys/vfs/ntfs/ntfs_subr.c 1.19 +2 -2 src/sys/vfs/nwfs/nwfs_node.c 1.24 +1 -1 src/sys/vfs/smbfs/smbfs_vfsops.c 1.41 +1 -1 src/sys/vm/vm_map.c http://www.dragonflybsd.org/cvsweb/src/sys/bus/usb/ehci.c.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/agp/agp.c.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/drm/drm_drv.h.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/pccard/pccbb/pccbb.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/imgact_resident.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_linker.c.diff?r1=1.24&r2=1.25&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_lock.c.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_sysctl.c.diff?r1=1.18&r2=1.19&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.54&r2=1.55&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_lock.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_mount.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_subr.c.diff?r1=1.66&r2=1.67&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.76&r2=1.77&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ncp/ncp_conn.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_conn.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/buf2.h.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/lock.h.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hpfs/hpfs_hash.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_node.c.diff?r1=1.19&r2=1.20&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_vnops.c.diff?r1=1.46&r2=1.47&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs_ihash.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ntfs/ntfs_subr.c.diff?r1=1.18&r2=1.19&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nwfs/nwfs_node.c.diff?r1=1.18&r2=1.19&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vfs/smbfs/smbfs_vfsops.c.diff?r1=1.23&r2=1.24&f=u http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_map.c.diff?r1=1.40&r2=1.41&f=u