opnsense-src/sys/powerpc/aim
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
..
clock.c Remove debugging printf that snuck in here. 2009-10-23 21:44:46 +00:00
copyinout.c Fix a race in casuword() exposed by csup. casuword() non-atomically read 2009-10-31 17:59:24 +00:00
interrupt.c Place interrupt handling in a critical section and remove double 2010-03-09 02:00:53 +00:00
locore.S Modularize the Open Firmware client interface to allow run-time switching 2008-12-20 00:33:10 +00:00
machdep.c Change the arguments of exec_setregs() so that it receives a pointer 2010-03-25 14:24:00 +00:00
mmu_oea.c Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
mmu_oea64.c Push down page queues lock acquisition in pmap_enter_object() and 2010-05-26 18:00:44 +00:00
mp_cpudep.c Add some more paranoia to setting HID registers, and update the AIM 2009-10-23 21:36:33 +00:00
nexus.c Get nexus(4) out of the RTC business. The interface used by nexus(4) 2010-03-23 03:14:44 +00:00
ofw_machdep.c Now that single-threaded access to firmware is enforced by 2010-05-21 20:46:01 +00:00
ofwmagic.S The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:07:02 +00:00
platform_chrp.c Add SMP support on U3-based G5 systems. This does not yet work perfectly: 2009-10-23 03:17:02 +00:00
swtch.S Unbreak cpu_switch(). The register allocator in my brain is clearly 2009-10-31 20:59:13 +00:00
trap.c Reorganize syscall entry and leave handling. 2010-05-23 18:32:02 +00:00
trap_subr.S Do not map the trap vectors into the kernel's address space. They are 2009-10-23 14:27:40 +00:00
uma_machdep.c Reduce KVA pressure on OEA64 systems running in bridge mode by mapping 2010-02-20 16:23:29 +00:00
vm_machdep.c Extract the code that records syscall results in the frame into MD 2009-11-10 11:43:07 +00:00