Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2008 00:11:37 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 133898 for review
Message-ID:  <200801230011.m0N0BbeD075635@repoman.freebsd.org>

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

Change 133898 by kmacy@pandemonium:kmacy:xen31 on 2008/01/23 00:11:19

	invalidate on all cpus
	change ordering in for statement to match args

Affected files ...

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

Differences ...

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

@@ -1232,7 +1232,7 @@
 		mclp->args[0] = sva;
 		mclp->args[1] = (uint32_t)(pa & 0xffffffff);
 		mclp->args[2] = (uint32_t)(pa >> 32);
-		mclp->args[3] = (*pte & PG_V) ? UVMF_INVLPG : 0;
+		mclp->args[3] = (*pte & PG_V) ? UVMF_INVLPG|UVMF_ALL : 0;
 	
 		sva += PAGE_SIZE;
 		pte++;
@@ -2787,7 +2787,7 @@
 	multicall_entry_t *mclp = mcl;
 		
 	PMAP_LOCK(pmap);
-	for (i = 0; i < count; i++, pages++, prots++, addrs++) {
+	for (i = 0; i < count; i++, addrs++, pages++, prots++) {
 		(void) pmap_enter_quick_locked(mclp, pmap, *addrs, *pages, *prots, NULL);
 		index++;
 		mclp++;



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