MFp4: If we're mapping the vector page (this will happen if we didn't

relocate it), do not attempt to call pmap_vac_me_harder() on the page.
At this point m will be NULL, and we know we won't have any cache
issues with this page.
This commit is contained in:
Olivier Houchard 2006-03-22 21:23:27 +00:00
parent a1de0396bd
commit 6f4640d092
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157025

View file

@ -3535,7 +3535,8 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot,
pmap_tlb_flushD_SE(pmap, va);
pmap_vac_me_harder(m, pmap, va);
if (m)
pmap_vac_me_harder(m, pmap, va);
}
vm_page_unlock_queues();
}