freebsd-nq/sys
Colin Percival 8ea0b3bb2f Lock the vm page queue mutex in pmap_pte_release around the call
to PMAP_SET_VA; this fixes a mutex-not-held panic when a process
which called mlock(2) exits, and parallels a change made in
pmap_pte 10 months ago (svn r204160).

Note: The locking in this code is utterly broken.  We should not
be using the VM page queue mutex to protect the queue of pending
Xen page mapping hypervisor calls.  Even if it made sense to do
so, this commit and r204160 introduce LORs between the vm page
queue mutex and PMAP2mutex.

(However, a possible deadlock is better than a guaranteed panic,
and this change will hopefully make life easier for whoever fixes
the Xen pmap locking in the future.)

PR:		kern/140313
MFC after:	3 days
2010-12-26 13:05:43 +00:00
..
amd64 Increase size of pcb_flags to four bytes. 2010-12-22 19:57:03 +00:00
arm IXP4XX_GPIO_{,UN}LOCK() don't take args. Remove the sc here to make 2010-12-23 19:28:50 +00:00
boot Give a bit of a hint of the failure (read != expected) but don't make 2010-11-25 03:16:31 +00:00
bsm
cam Fix a few issues related to the XPT_GDEV_ADVINFO CCB. 2010-12-10 21:38:51 +00:00
cddl cyclic xcall: use smp_no_rendevous_barrier as setup function parameter 2010-12-17 18:22:50 +00:00
compat Merge amd64 and i386 bus.h and move the resulting header to x86. Replace 2010-12-20 16:39:43 +00:00
conf - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9), 2010-12-21 13:45:29 +00:00
contrib Update firmware for wpi(4) from version 2.14.4 to 15.32.2.9. 2010-12-19 11:37:44 +00:00
crypto Remove DEBUG sections. 2010-11-27 15:41:44 +00:00
ddb One more use for _SIG_VALID. 2010-07-12 10:18:10 +00:00
dev Introduce and use a new VM interface for temporarily pinning pages. This 2010-12-25 21:26:56 +00:00
fs Modify the experimental NFS server so that it uses LK_SHARED 2010-12-25 21:56:25 +00:00
gdb there must be only one SYSINIT with SI_SUB_RUN_SCHEDULER+SI_ORDER_ANY order 2010-09-30 17:05:23 +00:00
geom Don't warn if a partition appears not to be aligned on a track boundary. 2010-12-07 20:46:11 +00:00
gnu Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
i386 Lock the vm page queue mutex in pmap_pte_release around the call 2010-12-26 13:05:43 +00:00
ia64 Revert r216134. This checkin broke platforms where bus_space are macros: 2010-12-03 07:09:23 +00:00
isa bus_add_child: change type of order parameter to u_int 2010-09-10 11:19:03 +00:00
kern Correct the order of the arguments to vm_fault_quick_hold_pages(). 2010-12-26 01:42:52 +00:00
kgssapi
libkern Add support for asterisk characters when filling in the GELI password 2010-11-14 14:12:43 +00:00
mips Include std.sentry5 from the SENTRY5 kernel configuration. This was 2010-12-22 19:01:48 +00:00
modules Update firmware for wpi(4) from version 2.14.4 to 15.32.2.9. 2010-12-19 11:37:44 +00:00
net Introduce and use a new VM interface for temporarily pinning pages. This 2010-12-25 21:26:56 +00:00
net80211 The meshid element is memcpy()'ed into se_meshid if included in either 2010-11-22 19:01:47 +00:00
netatalk
netgraph Simplify ng_pipe locking model by relying on the netgraph framework 2010-11-24 16:02:58 +00:00
netinet Provide a possibility to configure the inital congestion window to the 2010-12-22 19:04:14 +00:00
netinet6 Improve plausibility check in sctp_handle_sack(). 2010-12-22 17:59:38 +00:00
netipsec After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
netipx
netnatm
netncp
netsmb
nfs Fix the type of the 3rd argument for nm_getinfo so that it works 2010-10-19 11:55:58 +00:00
nfsclient Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
nfsserver Use newly added NFSRV_FLAG_BUSY flag for nfsrv_fhtovp() to keep mount point 2010-12-21 23:15:40 +00:00
nlm Modify the NFS clients and the NLM so that the NLM can be used 2010-10-19 00:20:00 +00:00
opencrypto Let cryptosoft(4) add its pseudo-device with a specific unit number and its 2010-11-14 13:09:32 +00:00
pc98 Merge amd64 and i386 bus.h and move the resulting header to x86. Replace 2010-12-20 16:39:43 +00:00
pci Remove standard PCI configuration space register definitions. 2010-11-08 22:10:51 +00:00
powerpc Memory can be laid out with large gaps on 64-bit PowerPC, so switch to 2010-12-20 14:25:01 +00:00
rpc Fix the krpc so that it can handle NFSv3,UDP mounts with a read/write 2010-10-13 00:57:14 +00:00
security Fix typos. 2010-11-09 10:59:09 +00:00
sparc64 Extend the hack of r182730 to trick GAS/GCC into compiling access to 2010-12-21 22:03:12 +00:00
sun4v Revert r216134. This checkin broke platforms where bus_space are macros: 2010-12-03 07:09:23 +00:00
sys MFp4: 2010-12-22 05:01:52 +00:00
teken Use proper bounds checking on VPA. 2010-12-05 10:15:23 +00:00
tools Add an extra comment to the SDT probes definition. This allows us to get 2010-08-22 11:18:57 +00:00
ufs This patch fixes a soft update panic while running perl 5.12 tests 2010-12-23 00:38:57 +00:00
vm Retire vm_fault_quick(). It's no longer used. 2010-12-25 23:54:50 +00:00
x86 Drop the icu_lock spinlock while pausing briefly after masking the 2010-12-23 15:17:28 +00:00
xdr
xen Fix a typo in a comment. 2010-12-14 20:57:40 +00:00
Makefile Add lex and yacc sources to things cscope'd. 2010-11-21 03:58:11 +00:00