Date: Sun, 22 Mar 2009 20:20:49 GMT From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 159625 for review Message-ID: <200903222020.n2MKKnp2005784@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=159625 Change 159625 by nwhitehorn@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));help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903222020.n2MKKnp2005784>
