Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2008 04:39:37 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 136146 for review
Message-ID:  <200802250439.m1P4dbSv021016@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=136146

Change 136146 by kmacy@pandemonium:kmacy:xen31 on 2008/02/25 04:39:30

	don't need to flush updates in pmap_pte routines as the update address stored
	are machine addresses

Affected files ...

.. //depot/projects/xen31/sys/i386/xen/pmap.c#40 edit

Differences ...

==== //depot/projects/xen31/sys/i386/xen/pmap.c#40 (text+ko) ====

@@ -976,7 +976,6 @@
 		mtx_lock(&PMAP2mutex);
 		newpf = *pde & PG_FRAME;
 		if ((*PMAP2 & PG_FRAME) != newpf) {
-			PT_UPDATES_FLUSH();
 			PT_SET_MA(PADDR2, newpf | PG_V | PG_A | PG_M);
 			CTR3(KTR_PMAP, "pmap_pte: pmap=%p va=0x%x newpte=0x%08x",
 			    pmap, va, (*PMAP2 & 0xffffffff));
@@ -1038,7 +1037,6 @@
 		KASSERT(curthread->td_pinned > 0, ("curthread not pinned"));
 		newpf = *pde & PG_FRAME;
 		if ((*PMAP1 & PG_FRAME) != newpf) {
-			PT_UPDATES_FLUSH();
 			PT_SET_MA(PADDR1, newpf | PG_V | PG_A | PG_M);
 			CTR3(KTR_PMAP, "pmap_pte_quick: pmap=%p va=0x%x newpte=0x%jx",
 			    pmap, va, *PMAP1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802250439.m1P4dbSv021016>