freebsd-nq/sys/mips
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
..
adm5120 Remove some stray ';'s 2010-05-13 01:50:29 +00:00
alchemy Hack to make ALCHEMY compile again... 2010-02-18 19:41:38 +00:00
atheros Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cavium Remove redundant checking of sc_leaving (uart_intr() already handles this). 2010-05-02 19:07:19 +00:00
compile
conf This pushes all of JC's patches that I have in place. I 2010-05-16 19:43:48 +00:00
idt - Call post-boot fixup function in order to get proper static 2010-01-25 00:44:05 +00:00
include Get rid of empty and unused KSEG0TEXT macros. 2010-05-25 05:45:16 +00:00
malta Fix MALTA64 build. 2010-04-19 09:03:34 +00:00
mips Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
rmi Remove unused code in sys/mips/rmi : 2010-05-24 06:01:37 +00:00
sentry5 - Call post-boot fixup function in order to get proper static 2010-01-25 00:44:05 +00:00
sibyte Fix Sibyte SMP kernel breakage caused by r208249. 2010-05-18 05:12:54 +00:00