freebsd-nq/sys
Konstantin Belousov d2bf64c309 Do not sleep for vnode lock while holding map lock in vm_fault. Try to
acquire vnode lock for OBJT_VNODE object after map lock is dropped.
Because we have the busy page(s) in the object, sleeping there would
result in deadlock with vnode resize. Try to get lock without sleeping,
and, if the attempt failed, drop the state, lock the vnode, and restart
the fault handler from the start with already locked vnode.

Because the vnode_pager_lock() function is inlined in vm_fault(),
axe it.

Based on suggestion by:	alc
Reviewed by:	tegge, alc
Tested by:	pho
2009-02-08 20:23:46 +00:00
..
amd64 Companion for r188301: fix the prototypes. 2009-02-08 07:03:34 +00:00
arm Erm... Report the buffer as being bounced even when it's the entire buffer, 2009-02-04 01:14:06 +00:00
boot - Remove superfluous comment 2009-01-30 15:27:04 +00:00
bsm Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both 2009-01-14 10:44:16 +00:00
cam There is no need to initialize the variable here. 2009-01-31 17:34:55 +00:00
cddl Last step of splitting up minor and unit numbers: remove minor(). 2009-01-28 17:57:16 +00:00
compat Change some movl's to mov's. Newer GAS no longer accept 'movl' instructions 2009-01-31 11:37:21 +00:00
conf Fix several filenames for "make clean" target. 2009-02-08 14:43:20 +00:00
contrib Revert my previous two changes. 2009-01-25 16:52:41 +00:00
crypto identify routine takes driver_t *, not device_t *. 2009-02-05 19:30:28 +00:00
ddb Collect N identical (or near identical) mkdumpheader() implementations into 2008-10-01 22:08:53 +00:00
dev Fix build, sigh. 2009-02-07 15:51:32 +00:00
fs Lookup up the directory entry for the tmpfs node that are deleted by 2009-02-08 19:18:33 +00:00
gdb
geom o Add the "PART::scheme" attribute that returns the name of the 2009-02-08 20:15:08 +00:00
gnu - Eliminate warnings in debug print macros by explicitly converting all 2009-01-18 15:10:46 +00:00
i386 si(4) seems to build without a problem. However, since noone noticed lack 2009-02-08 12:40:33 +00:00
ia64 Don't forget to create opt_agp.h on ia64, which also uses agp(4). 2009-02-07 09:57:14 +00:00
isa Allow device hints to wire the unit numbers of devices. 2008-11-18 21:01:54 +00:00
kern Tweak the output of VOP_PRINT/vn_printf() some. 2009-02-06 20:06:48 +00:00
kgssapi Call svc_freereq() before returning from the service proc. 2008-11-12 15:31:05 +00:00
libkern Add simple locking for the in-kernel iconv code. Translation operations 2008-12-05 21:19:24 +00:00
mips Retire NO_DMA completely. 2009-02-08 08:13:36 +00:00
modules Add SCTP NAT support. 2009-02-07 18:49:42 +00:00
net Call prison_if from rtm_get_jailed, instead of splitting it out into 2009-02-05 14:58:16 +00:00
net80211 o change _db_show_key to always dump the contents instead of checking 2009-02-05 20:26:53 +00:00
netatalk Remove local variable 'ddp' from DDP's attach and detach routines; they 2009-02-04 20:04:32 +00:00
netgraph Allow unprivileged users to run l2ping(8). 2009-02-04 22:44:09 +00:00
netinet Try to remove/assimilate as much of formerly IPv4/6 specific 2009-02-08 09:27:07 +00:00
netinet6 Try to remove/assimilate as much of formerly IPv4/6 specific 2009-02-08 09:27:07 +00:00
netipsec Try to remove/assimilate as much of formerly IPv4/6 specific 2009-02-08 09:27:07 +00:00
netipx Add missing "goto set_head" for SO_IPX_CHECKSUM; otherwise we fall through 2008-12-11 10:29:35 +00:00
netnatm Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netncp Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
netsmb Implement device cloning for /dev/nsmb, the netsmb control pseudo-device. 2008-11-03 14:23:15 +00:00
nfs
nfs4client Last step of splitting up minor and unit numbers: remove minor(). 2009-01-28 17:57:16 +00:00
nfsclient Last step of splitting up minor and unit numbers: remove minor(). 2009-01-28 17:57:16 +00:00
nfsserver Audit the flag argument to the nfssvc(2) system call. 2009-02-08 14:04:08 +00:00
nlm Don't call svc_freereq() before svc_freeargs(). 2008-11-12 15:30:30 +00:00
opencrypto Fix return type for detach routine (should be int) 2009-02-05 17:43:12 +00:00
pc98 Bring missing comments on EPSON_BOUNCEDMA and EPSON_MEMWIN flags. 2009-02-08 10:21:25 +00:00
pccard
pci - Add support for 8110SCe part. Some magic registers were taken from 2009-01-20 20:22:28 +00:00
powerpc Add support for the I2S and davbus audio controllers found in Apple PowerPC 2009-01-25 18:20:15 +00:00
rpc Use the correct creds when reconnecting so that we have enough privilege to 2009-02-05 11:48:10 +00:00
security Set the lower bound on queue size for an audit pipe to 1 instead of 0, 2009-02-08 15:38:31 +00:00
sparc64 - Currently the PMAP code is laid out to let the kernel TSB cover the 2009-01-01 14:01:21 +00:00
sun4v Adjust the padding of struct pcpu to r187357. 2009-01-18 13:04:38 +00:00
sys Add KASSERTs to make it easier to debug problems like the one fixed 2009-02-06 18:16:01 +00:00
tools Remove some unused and broken code that attempted to not invoke locking 2008-11-03 19:57:40 +00:00
ufs When a device containing mounted UFS filesystem disappears, the type 2009-02-06 17:14:07 +00:00
vm Do not sleep for vnode lock while holding map lock in vm_fault. Try to 2009-02-08 20:23:46 +00:00
xdr Use the remote address for access control, not the local address. This fixes 2008-11-13 14:36:52 +00:00
xen merge 186535, 186537, and 186538 from releng_7_xen 2008-12-29 06:31:03 +00:00
Makefile