freebsd-nq/sys/powerpc
Alan Cox 567e51e18c Roughly half of a typical pmap_mincore() implementation is machine-
independent code.  Move this code into mincore(), and eliminate the
page queues lock from pmap_mincore().

Push down the page queues lock into pmap_clear_modify(),
pmap_clear_reference(), and pmap_is_modified().  Assert that these
functions are never passed an unmanaged page.

Eliminate an inaccurate comment from powerpc/powerpc/mmu_if.m:
Contrary to what the comment says, pmap_mincore() is not simply an
optimization.  Without a complete pmap_mincore() implementation,
mincore() cannot return either MINCORE_MODIFIED or MINCORE_REFERENCED
because only the pmap can provide this information.

Eliminate the page queues lock from vfs_setdirty_locked_object(),
vm_pageout_clean(), vm_object_page_collect_flush(), and
vm_object_page_clean().  Generally speaking, these are all accesses
to the page's dirty field, which are synchronized by the containing
vm object's lock.

Reduce the scope of the page queues lock in vm_object_madvise() and
vm_page_dontneed().

Reviewed by:	kib (an earlier version)
2010-05-24 14:26:57 +00:00
..
aim Roughly half of a typical pmap_mincore() implementation is machine- 2010-05-24 14:26:57 +00:00
booke Roughly half of a typical pmap_mincore() implementation is machine- 2010-05-24 14:26:57 +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 Reorganize syscall entry and leave handling. 2010-05-23 18:32:02 +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