mirror of
https://github.com/opnsense/src.git
synced 2026-04-27 09:06:49 -04:00
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 |
||
|---|---|---|
| .. | ||
| clock.c | ||
| copyinout.c | ||
| interrupt.c | ||
| locore.S | ||
| machdep.c | ||
| mmu_oea.c | ||
| mmu_oea64.c | ||
| mp_cpudep.c | ||
| nexus.c | ||
| ofw_machdep.c | ||
| ofwmagic.S | ||
| platform_chrp.c | ||
| swtch.S | ||
| trap.c | ||
| trap_subr.S | ||
| uma_machdep.c | ||
| vm_machdep.c | ||