Date: Tue, 23 May 2006 05:48:33 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 97666 for review Message-ID: <200605230548.k4N5mXOf004714@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=97666 Change 97666 by kmacy@kmacy_storage:sun4v_work on 2006/05/23 05:47:43 don't remove the referenced bit in pmap_protect only invalidate range if there is a modified page Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#57 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#57 (text+ko) ==== @@ -1491,12 +1491,12 @@ vm_page_t m; if ((otte_data = tte_hash_clear_bits(pmap->pm_hash, tva, - (VTD_SW_W|VTD_W|VTD_REF))) == 0) + (VTD_SW_W|VTD_W))) == 0) continue; - if (otte_data & (VTD_SW_W | VTD_W | VTD_REF)) + if (!anychanged && (otte_data & VTD_W)) anychanged = 1; - + if (otte_data & VTD_MANAGED) { m = NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605230548.k4N5mXOf004714>