Relax the object locking assertion in pmap_enter_locked().
Reviewed by: attilio Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
452f8fc444
commit
658f180b3b
@ -1159,7 +1159,7 @@ moea_enter_locked(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot,
|
||||
rw_assert(&pvh_global_lock, RA_WLOCKED);
|
||||
PMAP_LOCK_ASSERT(pmap, MA_OWNED);
|
||||
if ((m->oflags & (VPO_UNMANAGED | VPO_BUSY)) == 0)
|
||||
VM_OBJECT_ASSERT_WLOCKED(m->object);
|
||||
VM_OBJECT_ASSERT_LOCKED(m->object);
|
||||
|
||||
/* XXX change the pvo head for fake pages */
|
||||
if ((m->oflags & VPO_UNMANAGED) != 0) {
|
||||
|
@ -1261,7 +1261,7 @@ moea64_enter(mmu_t mmu, pmap_t pmap, vm_offset_t va, vm_page_t m,
|
||||
}
|
||||
|
||||
if ((m->oflags & (VPO_UNMANAGED | VPO_BUSY)) == 0)
|
||||
VM_OBJECT_ASSERT_WLOCKED(m->object);
|
||||
VM_OBJECT_ASSERT_LOCKED(m->object);
|
||||
|
||||
/* XXX change the pvo head for fake pages */
|
||||
if ((m->oflags & VPO_UNMANAGED) != 0) {
|
||||
|
@ -1564,7 +1564,7 @@ mmu_booke_enter_locked(mmu_t mmu, pmap_t pmap, vm_offset_t va, vm_page_t m,
|
||||
("mmu_booke_enter_locked: user pmap, non user va"));
|
||||
}
|
||||
if ((m->oflags & (VPO_UNMANAGED | VPO_BUSY)) == 0)
|
||||
VM_OBJECT_ASSERT_WLOCKED(m->object);
|
||||
VM_OBJECT_ASSERT_LOCKED(m->object);
|
||||
|
||||
PMAP_LOCK_ASSERT(pmap, MA_OWNED);
|
||||
|
||||
|
@ -1495,7 +1495,7 @@ pmap_enter_locked(pmap_t pm, vm_offset_t va, vm_page_t m, vm_prot_t prot,
|
||||
rw_assert(&tte_list_global_lock, RA_WLOCKED);
|
||||
PMAP_LOCK_ASSERT(pm, MA_OWNED);
|
||||
if ((m->oflags & (VPO_UNMANAGED | VPO_BUSY)) == 0)
|
||||
VM_OBJECT_ASSERT_WLOCKED(m->object);
|
||||
VM_OBJECT_ASSERT_LOCKED(m->object);
|
||||
PMAP_STATS_INC(pmap_nenter);
|
||||
pa = VM_PAGE_TO_PHYS(m);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user