freebsd-skq/sys
jhb ea417bf09a When the MNTK_EXTENDED_SHARED mount option was added, some filesystems were
changed to defer the setting of VN_LOCK_ASHARE() (which clears LK_NOSHARE
in the vnode lock's flags) until after they had determined if the vnode was
a FIFO.  This occurs after the vnode has been inserted a VFS hash or some
similar table, so it is possible for another thread to find this vnode via
vget() on an i-node number and block on the vnode lock.  If the lockmgr
interlock (vnode interlock for vnode locks) is not held when clearing the
LK_NOSHARE flag, then the lk_flags field can be clobbered.  As a result
the thread blocked on the vnode lock may never get woken up.  Fix this by
holding the vnode interlock while modifying the lock flags in this case.

MFC after:	3 days
2010-07-16 19:20:20 +00:00
..
amd64 Move functions declaration to MI code, following implementation. 2010-07-15 17:49:35 +00:00
arm Import preliminary support for Atmel AT91SAM9G20 cpu, and the Hot-e HL201. 2010-07-14 00:48:53 +00:00
boot Provide support in loader for booting 64-bit PowerPC kernels. Like amd64, 2010-07-12 00:49:22 +00:00
bsm Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
cam ATA device reset starts probe sequence from the beginning. If reset caused 2010-07-06 19:05:41 +00:00
cddl When the MNTK_EXTENDED_SHARED mount option was added, some filesystems were 2010-07-16 19:20:20 +00:00
compat Make svr4(4) version of poll(2) use the same limit of file descriptors as the 2010-07-15 18:44:58 +00:00
conf Simple compatibility hacks for building on older systems where 2010-07-15 23:32:53 +00:00
contrib - Update 6000 firmware to 9.221.4.1 2010-07-15 11:26:07 +00:00
crypto Use the fpu_kern_enter() interface to properly separate usermode FPU 2010-06-05 16:00:53 +00:00
ddb One more use for _SIG_VALID. 2010-07-12 10:18:10 +00:00
dev Make legacy ATA emulation detection more strict. This should fix false 2010-07-16 17:27:43 +00:00
fs When the MNTK_EXTENDED_SHARED mount option was added, some filesystems were 2010-07-16 19:20:20 +00:00
gdb Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
geom Fixed cache size decoding read from a label. 2010-07-14 08:22:00 +00:00
gnu Move checking against RLIMIT_FSIZE into one place, vn_rlimit_fsize(). 2010-05-05 16:44:25 +00:00
i386 Move functions declaration to MI code, following implementation. 2010-07-15 17:49:35 +00:00
ia64 Add acpi_find_table() -- a convenience function for looking up an 2010-07-07 20:07:33 +00:00
isa When we are not switching VTs, just mark all buffer to be updated. 2010-07-15 23:11:51 +00:00
kern Retire td_syscalls now that it is no longer needed. 2010-07-15 20:24:37 +00:00
kgssapi Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
libkern Provide memchr() in the libkern. 2010-06-02 17:27:23 +00:00
mips Move common macros into asm.h. Replace MIPS_CPU_NOP_DELAY with 2010-07-16 06:35:17 +00:00
modules - Update 6000 firmware to 9.221.4.1 2010-07-15 11:26:07 +00:00
net whitespace cleanup 2010-07-15 14:41:59 +00:00
net80211 - Introduce IEEE80211_KEY_NOREPLAY, a per-key flag to ignore replay 2010-07-01 20:50:12 +00:00
netatalk Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
netgraph Remove defunct email address from header as well. 2010-07-06 16:55:39 +00:00
netinet machine/cpu.h isn't appropriate for this file,so remove it 2010-07-16 06:32:38 +00:00
netinet6 Fix our version of IPv6 address representation. 2010-05-19 00:35:47 +00:00
netipsec MFp4 @178283: 2010-05-24 16:27:47 +00:00
netipx Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
netnatm Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
netncp Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
netsmb Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nfs Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
nfsclient Retire the NFS access cache timestamp structure. It was used in VOP_OPEN() 2010-07-15 19:40:48 +00:00
nfsserver Patch the regular NFS server so that it returns ESTALE to the client 2010-03-26 01:19:29 +00:00
nlm Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
opencrypto Use the fpu_kern_enter() interface to properly separate usermode FPU 2010-06-05 16:00:53 +00:00
pc98 Unify pc98 event timer code with the rest of x86. 2010-07-13 06:57:27 +00:00
pci Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
powerpc Remove obsolete code that sets SHMMAXPGS to a tiny value by default 2010-07-13 23:10:55 +00:00
rpc When the regular NFS server replied to a UDP client out of the replay 2010-03-23 23:03:30 +00:00
security Add a case to make sure that internal audit records get converted 2010-05-04 15:29:07 +00:00
sparc64 - Pin the IPI cache and TLB demap functions in order to prevent migration 2010-07-04 12:43:12 +00:00
sun4v Add a missing architecture declaration to the machine specification 2010-07-13 01:24:02 +00:00
sys Retire td_syscalls now that it is no longer needed. 2010-07-15 20:24:37 +00:00
teken Just use <stdint.h> instead of <inttypes.h>. We don't need it here. 2010-04-03 17:22:28 +00:00
tools Flattened Device Tree helper scripts. 2010-06-02 17:22:38 +00:00
ufs When the MNTK_EXTENDED_SHARED mount option was added, some filesystems were 2010-07-16 19:20:20 +00:00
vm Add support for the VM_ALLOC_COUNT() hint to vm_page_alloc(). Consequently, 2010-07-09 19:38:30 +00:00
x86 Move timeevents.c to MI code, as it is not x86-specific. I already have 2010-07-14 13:31:27 +00:00
xdr Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
xen Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
Makefile Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00