freebsd-dev/sys
Alan Cox c46b90e90a Push down page queues lock acquisition in pmap_enter_object() and
pmap_is_referenced().  Eliminate the corresponding page queues lock
acquisitions from vm_map_pmap_enter() and mincore(), respectively.  In
mincore(), this allows some additional cases to complete without ever
acquiring the page queues lock.

Assert that the page is managed in pmap_is_referenced().

On powerpc/aim, push down the page queues lock acquisition from
moea*_is_modified() and moea*_is_referenced() into moea*_query_bit().
Again, this will allow some additional cases to complete without ever
acquiring the page queues lock.

Reorder a few statements in vm_page_dontneed() so that a race can't lead
to an old reference persisting.  This scenario is described in detail by a
comment.

Correct a spelling error in vm_page_dontneed().

Assert that the object is locked in vm_page_clear_dirty(), and restrict the
page queues lock assertion to just those cases in which the page is
currently writeable.

Add object locking to vnode_pager_generic_putpages().  This was the one
and only place where vm_page_clear_dirty() was being called without the
object being locked.

Eliminate an unnecessary vm_page_lock() around vnode_pager_setsize()'s call
to vm_page_clear_dirty().

Change vnode_pager_generic_putpages() to the modern-style of function
definition.  Also, change the name of one of the parameters to follow
virtual memory system naming conventions.

Reviewed by:	kib
2010-05-26 18:00:44 +00:00
..
amd64 Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
arm Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
boot Initial device tree source (DTS) files for Marvell ARM systems: 2010-05-26 09:50:09 +00:00
bsm
cam Change ad_firmware_geom_adjust() to operate on a struct disk * only and 2010-05-20 12:46:19 +00:00
cddl Remove kstat.zfs.arcstats.l2_write_bytes_written 2010-05-23 21:16:34 +00:00
compat Bring USB fixes for linux(4). 2010-05-24 07:04:00 +00:00
conf Add uep(4), driver for USB onscreen touch panel from eGalax. 2010-05-25 21:20:56 +00:00
contrib Sync run(4) driver from author's site. 2010-05-13 00:19:03 +00:00
crypto
ddb MFp4 @178364: 2010-05-24 16:41:05 +00:00
dev Add uep(4), driver for USB onscreen touch panel from eGalax. 2010-05-25 21:20:56 +00:00
fs Allow the experimental NFSv4 client to use cached attributes 2010-05-18 05:18:21 +00:00
gdb
geom Fix some whitespace nits. 2010-05-24 17:33:02 +00:00
gnu Move checking against RLIMIT_FSIZE into one place, vn_rlimit_fsize(). 2010-05-05 16:44:25 +00:00
i386 Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
ia64 Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
isa Do not attempt to switch to the same VTs between suspend and resume. 2010-05-26 16:37:54 +00:00
kern Allow to use syscallname(9) outside subr_trap.c. 2010-05-26 15:39:43 +00:00
kgssapi
libkern Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
mips Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
modules Remove a check that should be always true. 2010-05-26 15:36:29 +00:00
net This patch fixes the problem where proxy ARP entries cannot be added 2010-05-25 20:42:35 +00:00
net80211 Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
netatalk
netgraph Fix a race between ngs_rcvmsg() and soclose() which closes the control 2010-05-19 15:06:09 +00:00
netinet This patch fixes the problem where proxy ARP entries cannot be added 2010-05-25 20:42:35 +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
netnatm
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 Factor out the code shared between NFS client and server into its own 2010-02-16 20:00:21 +00:00
nfsclient Push down the page queues lock into vm_page_activate(). 2010-05-07 15:49:43 +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
opencrypto Add comments trying to explain what bad things happen here, i.e. 2010-01-09 15:43:47 +00:00
pc98 Reduce diffs against syscons_isa.c. No functional changes. 2010-05-26 11:31:57 +00:00
pci Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
powerpc Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +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 Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
sun4v Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
sys Allow to use syscallname(9) outside subr_trap.c. 2010-05-26 15:39:43 +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
ufs ffs_mount: accept and drop userland-only options that can be passed from 2010-05-19 09:32:11 +00:00
vm Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
x86 Add support for corrected machine check interrupts. CMCI is a new local 2010-05-24 15:45:05 +00:00
xdr
xen don't hold spin lock across free 2010-02-21 01:12:18 +00:00
Makefile