Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 22:09:42 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 93314 for review
Message-ID:  <200603142209.k2EM9g1u091525@repoman.freebsd.org>

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

Change 93314 by kmacy@kmacy_storage:sun4v_work on 2006/03/14 22:08:59

	invlctx flushes locked entries - don't call on context 0

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#24 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/pmap.c#24 (text+ko) ====

@@ -1021,11 +1021,12 @@
 #ifdef SMP
 #error __FUNCTION_ not implemented
 #else
-	if (pmap->pm_context != 0) {
-		tsb_clear(&pmap->pm_tsb);
-	}
+	tsb_clear(&pmap->pm_tsb);
 
-	invlctx(pmap->pm_context);
+	if (pmap->pm_context)
+		invlctx(pmap->pm_context);
+	else
+		invltlb();
 #endif
 }
 



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