freebsd-dev/sys/powerpc
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
..
aim Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
booke Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
compile
conf Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had 2010-04-22 21:31:34 +00:00
cpufreq On SMP G5 systems, sometimes the power-mode-data property is only found 2010-05-16 15:21:13 +00:00
fpu The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:07:02 +00:00
include Initial loader(8) support for Flattened Device Tree. 2010-05-25 15:21:39 +00:00
mpc85xx Fix an off-by-one bug for the number of slots on a PCI/PCI-X bus. 2010-03-23 23:46:28 +00:00
ofw Pull OF_quiesce() out of the MI Open Firmware layer and entirely into 2010-05-16 22:01:43 +00:00
powermac Correct a typo. 2010-05-19 01:37:47 +00:00
powerpc Roughly half of a typical pmap_mincore() implementation is machine- 2010-05-24 14:26:57 +00:00
psim Unbreak build. 2009-12-06 17:26:43 +00:00