PERFORCE change 159625 for review
    Nathan Whitehorn 
    nwhitehorn at FreeBSD.org
       
    Sun Mar 22 13:20:51 PDT 2009
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=159625
Change 159625 by nwhitehorn at nwhitehorn_comporellon on 2009/03/22 20:20:00
	Change the UMA zone from which fictitious PVOs are allocated to the
	unmanaged PVO zone. This is the same as SVN revision 189675 to
	mmu_oea.c, and likewise prevents a panic when unmaping mmaped
	physical memory regions.
Affected files ...
.. //depot/projects/ppc-g5/sys/powerpc/aim/mmu_oea64.c#15 edit
Differences ...
==== //depot/projects/ppc-g5/sys/powerpc/aim/mmu_oea64.c#15 (text+ko) ====
@@ -1216,8 +1216,11 @@
 	PMAP_LOCK_ASSERT(pmap, MA_OWNED);
 
 	/* XXX change the pvo head for fake pages */
-	if ((m->flags & PG_FICTITIOUS) == PG_FICTITIOUS)
+	if ((m->flags & PG_FICTITIOUS) == PG_FICTITIOUS) {
+		pvo_flags &= ~PVO_MANAGED;
 		pvo_head = &moea64_pvo_kunmanaged;
+		zone = moea_upvo_zone;
+	}
 
 	pte_lo = moea64_calc_wimg(VM_PAGE_TO_PHYS(m));
 
    
    
More information about the p4-projects
mailing list