freebsd-nq/sys
Alan Cox 20eec4bbdb Fix a deadlock between vm_fault() and vm_mmap(): The expected lock ordering
between vm_map and vnode locks is that vm_map locks are acquired first.  In
revision 1.150 mmap(2) was changed to pass a locked vnode into vm_mmap().
This creates a lock-order reversal when vm_mmap() calls one of the vm_map
routines that acquires a vm_map lock.  The solution implemented herein is
to release the vnode lock in mmap() before calling vm_mmap() and reacquire
this lock if necessary in vm_mmap().

Approved by:	re (scottl)
Reviewed by:	jeff, kan, rwatson
2003-12-06 05:45:32 +00:00
..
alpha Since the fdc driver can't autodetect the drive capacity on the Alpha, 2003-12-05 00:57:11 +00:00
amd64 Fix all users of mp_maxid to use the same semantics, namely: 2003-12-03 14:57:26 +00:00
arm Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
boot With the beastie menu a problem was introduced in which selecting a 2003-11-21 19:01:02 +00:00
cam SS_FATAL|ENXIO rather than SS_RDEF for illegal track mode. 2003-12-01 10:13:00 +00:00
coda - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
compat Do not call VOP_GETATTR in getdents function. It does not serve any 2003-11-19 04:12:32 +00:00
conf Connect the cx driver to its new location in the tree. 2003-12-03 23:06:30 +00:00
contrib Use parens more reasionably so we match the vendor code. This is part 2003-12-02 18:28:00 +00:00
crypto avoid module name conflict with opencrypto/rijndael.c. 2003-11-12 04:22:37 +00:00
ddb Reworked rev.1.14. Use the ELF symbol type again to summarily reject 2003-09-28 06:02:33 +00:00
dev Add support for ELECOM/Laneed CardBus FastEtherner Card(LD-CBL/TXA) 2003-12-06 02:29:31 +00:00
fs Fix vnode locking in fdesc_setattr. Lock vnode before invoking 2003-11-19 04:14:42 +00:00
geom Call class->init() an class->fini() while the class is hooked up, 2003-11-18 18:17:39 +00:00
gnu Fixed a reference to a nonexistent variable in previous commit. Renaming 2003-11-05 11:56:58 +00:00
i4b Based on an excellent suggestion from tanimura@ define I4BPRI and use it 2003-11-10 14:20:34 +00:00
i386 File forgotten in the cx shuffle. 2003-12-05 06:52:05 +00:00
ia64 - Split cpu_mp_probe() into two parts. cpu_mp_setmaxid() is still called 2003-11-21 22:23:26 +00:00
isa Don't disable the TSC with statclock_disable. 2003-11-13 10:02:12 +00:00
isofs/cd9660 DuH! 2003-10-18 14:10:28 +00:00
kern Fix all users of mp_maxid to use the same semantics, namely: 2003-12-03 14:57:26 +00:00
libkern - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
modules Remove SMP option support from building the ACPI module as it is no longer 2003-12-05 15:49:01 +00:00
net Remove the call to M_ASSERTVALID from BPF_MTAP; some mbufs passed to 2003-11-28 18:48:59 +00:00
net80211 o insure the current channel is in a good state before starting an AP scan 2003-11-13 05:23:58 +00:00
netatalk Eliminate a duplicate free when deleting an interface address. This 2003-11-28 04:19:41 +00:00
netatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netgraph Lower the maximum ACK timeout for GRE packets from 10 to 1 second. 2003-11-18 20:43:23 +00:00
netinet Swap destination and source arguments of two bcopy() calls. 2003-12-02 21:25:12 +00:00
netinet6 Split the "inp" mutex class into separate classes for each of divert, 2003-11-26 01:40:44 +00:00
netipsec Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netipx Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netkey missing splx. 2003-11-28 14:34:42 +00:00
netnatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netncp The present defaults for the open and close for device drivers which 2003-09-27 12:01:01 +00:00
netsmb - Support for multibyte charsets in LIBICONV. 2003-09-26 20:26:25 +00:00
nfs University of Michigan's Citi NFSv4 kernel client code. 2003-11-14 20:54:10 +00:00
nfs4client Use function pointers to remove the depenancy cross dependancy on nfs4 2003-11-22 02:21:49 +00:00
nfsclient Use function pointers to remove the depenancy cross dependancy on nfs4 2003-11-22 02:21:49 +00:00
nfsserver Update a comment about needing to fix NFS server credential use 2003-11-17 00:56:53 +00:00
opencrypto eliminate an unnecessary 8Kbyte bzero that was being done for each 2003-11-19 22:42:34 +00:00
pc98 There is no such thing as a pc98 machine with ISA expansion slots, nor 2003-12-03 21:44:44 +00:00
pccard - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
pci Add support for ELECOM/Laneed CardBus FastEtherner Card(LD-CBL/TXA) 2003-12-06 02:29:31 +00:00
posix4 sched_setscheduler: Return EINVAL when a invalid policy is specified, 2003-09-13 18:46:24 +00:00
powerpc - Split cpu_mp_probe() into two parts. cpu_mp_setmaxid() is still called 2003-11-21 22:23:26 +00:00
rpc Remove unneeded file. (could be repo removed as nothing ever referenced it.) 2003-11-20 04:42:50 +00:00
security Use UMA zone allocator for Biba and MLS labels rather than MALLOC(9). 2003-11-18 04:11:52 +00:00
sparc64 Fix all users of mp_maxid to use the same semantics, namely: 2003-12-03 14:57:26 +00:00
sys Fix all users of mp_maxid to use the same semantics, namely: 2003-12-03 14:57:26 +00:00
tools Changes for new SMP-safe kobj method dispatch algorithm. 2003-10-16 13:29:26 +00:00
ufs Write the UFS2 superblock with a 'BAD' magic number at the beginning 2003-11-16 07:08:27 +00:00
vm Fix a deadlock between vm_fault() and vm_mmap(): The expected lock ordering 2003-12-06 05:45:32 +00:00
Makefile