freebsd-skq/sys/powerpc
alc 7c212e010d Reduce the scope of the page queues lock and the number of
PG_REFERENCED changes in vm_pageout_object_deactivate_pages().
Simplify this function's inner loop using TAILQ_FOREACH(), and shorten
some of its overly long lines.  Update a stale comment.

Assert that PG_REFERENCED may be cleared only if the object containing
the page is locked.  Add a comment documenting this.

Assert that a caller to vm_page_requeue() holds the page queues lock,
and assert that the page is on a page queue.

Push down the page queues lock into pmap_ts_referenced() and
pmap_page_exists_quick().  (As of now, there are no longer any pmap
functions that expect to be called with the page queues lock held.)

Neither pmap_ts_referenced() nor pmap_page_exists_quick() should ever
be passed an unmanaged page.  Assert this rather than returning "0"
and "FALSE" respectively.

ARM:

Simplify pmap_page_exists_quick() by switching to TAILQ_FOREACH().

Push down the page queues lock inside of pmap_clearbit(), simplifying
pmap_clear_modify(), pmap_clear_reference(), and pmap_remove_write().
Additionally, this allows for avoiding the acquisition of the page
queues lock in some cases.

PowerPC/AIM:

moea*_page_exits_quick() and moea*_page_wired_mappings() will never be
called before pmap initialization is complete.  Therefore, the check
for moea_initialized can be eliminated.

Push down the page queues lock inside of moea*_clear_bit(),
simplifying moea*_clear_modify() and moea*_clear_reference().

The last parameter to moea*_clear_bit() is never used.  Eliminate it.

PowerPC/BookE:

Simplify mmu_booke_page_exists_quick()'s control flow.

Reviewed by:	kib@
2010-06-10 16:56:35 +00:00
..
aim Reduce the scope of the page queues lock and the number of 2010-06-10 16:56:35 +00:00
booke Reduce the scope of the page queues lock and the number of 2010-06-10 16:56:35 +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 Prepare and extend OFW layer for FDT support. 2010-05-28 10:43:56 +00:00
powermac Add Open Firmware PNP info strings to GPIOs and Uninorth cells. 2010-06-06 14:29:06 +00:00
powerpc Make sure that interrupt sense settings set after interrupts are enabled 2010-06-05 16:21:55 +00:00
psim Unbreak build. 2009-12-06 17:26:43 +00:00