Date: Fri, 22 Jan 2010 17:02:07 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/cam/scsi scsi_target.c src/sys/i386/acpica acpi_machdep.c src/sys/kern init_main.c kern_event.c kern_fork.c sys_pipe.c tty.c uipc_mqueue.c uipc_socket.c vfs_aio.c vfs_subr.c src/sys/net bpf.c if_tap.c if_tun.c src/sys/security/audit ... Message-ID: <201001221702.o0MH2h8g084688@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2010-01-22 17:02:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/cam/scsi scsi_target.c sys/i386/acpica acpi_machdep.c sys/kern init_main.c kern_event.c kern_fork.c sys_pipe.c tty.c uipc_mqueue.c uipc_socket.c vfs_aio.c vfs_subr.c sys/net bpf.c if_tap.c if_tun.c sys/security/audit audit_pipe.c sys/sys event.h Log: SVN rev 202814 on 2010-01-22 17:02:07Z by jhb MFC 193951: Adapt vfs kqfilter to the shared vnode lock used by zfs write vop. Use vnode interlock to protect the knote fields. The locking assumes that shared vnode lock is held, thus we get exclusive access to knote either by exclusive vnode lock protection, or by shared vnode lock + vnode interlock. Unlike the change in HEAD, this does not remove kl_locked() and replace it with kl_assert_locked() and kl_assert_unlocked(). Instead, the kl_locked can now be set to NULL in which case no assertion checks are performed on the lock. The vfs kqfilter code uses this mode to disable assertion checks. This preserves the existing ABI for knlist_init(). Add convenience function knlist_init_mtx to reduce number of arguments for typical knlist initialization. Reviewed by: kib Revision Changes Path 1.73.2.1 +1 -1 src/sys/cam/scsi/scsi_target.c 1.37.2.2 +1 -1 src/sys/i386/acpica/acpi_machdep.c 1.283.2.10 +1 -1 src/sys/kern/init_main.c 1.113.2.8 +13 -4 src/sys/kern/kern_event.c 1.282.2.10 +1 -1 src/sys/kern/kern_fork.c 1.191.2.6 +2 -4 src/sys/kern/sys_pipe.c 1.273.2.6 +2 -2 src/sys/kern/tty.c 1.25.2.3 +2 -2 src/sys/kern/uipc_mqueue.c 1.302.2.19 +4 -8 src/sys/kern/uipc_socket.c 1.233.2.5 +2 -2 src/sys/kern/vfs_aio.c 1.707.2.19 +22 -13 src/sys/kern/vfs_subr.c 1.181.2.12 +1 -1 src/sys/net/bpf.c 1.71.2.4 +1 -1 src/sys/net/if_tap.c 1.163.2.1 +1 -1 src/sys/net/if_tun.c 1.11.2.18 +1 -2 src/sys/security/audit/audit_pipe.c 1.37.2.4 +2 -0 src/sys/sys/event.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001221702.o0MH2h8g084688>