Changeset View
Changeset View
Standalone View
Standalone View
head/sys/powerpc/aim/mmu_oea64.c
Show First 20 Lines • Show All 1,378 Lines • ▼ Show 20 Lines | if (oldpvo != NULL) { | ||||
free_pvo_entry(oldpvo); | free_pvo_entry(oldpvo); | ||||
} | } | ||||
if (error != ENOMEM) | if (error != ENOMEM) | ||||
break; | break; | ||||
if ((flags & PMAP_ENTER_NOSLEEP) != 0) | if ((flags & PMAP_ENTER_NOSLEEP) != 0) | ||||
return (KERN_RESOURCE_SHORTAGE); | return (KERN_RESOURCE_SHORTAGE); | ||||
VM_OBJECT_ASSERT_UNLOCKED(m->object); | VM_OBJECT_ASSERT_UNLOCKED(m->object); | ||||
VM_WAIT; | vm_wait(NULL); | ||||
} | } | ||||
/* | /* | ||||
* Flush the page from the instruction cache if this page is | * Flush the page from the instruction cache if this page is | ||||
* mapped executable and cacheable. | * mapped executable and cacheable. | ||||
*/ | */ | ||||
if (pmap != kernel_pmap && !(m->aflags & PGA_EXECUTABLE) && | if (pmap != kernel_pmap && !(m->aflags & PGA_EXECUTABLE) && | ||||
(pte_lo & (LPTE_I | LPTE_G | LPTE_NOEXEC)) == 0) { | (pte_lo & (LPTE_I | LPTE_G | LPTE_NOEXEC)) == 0) { | ||||
▲ Show 20 Lines • Show All 1,441 Lines • Show Last 20 Lines |