Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 02:09:22 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95976 for review
Message-ID:  <200604240209.k3O29MC4052781@repoman.freebsd.org>

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

Change 95976 by kmacy@kmacy_storage:sun4v_rwbuf on 2006/04/24 02:08:57

	make tte changes atomic

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/tte.c#5 edit

Differences ...

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

@@ -123,7 +123,9 @@
 	tte = tte_hash_lookup(pmap->pm_hash, va);
 
 	if (tte)
-		*tte = *tte & ~flags;
+		atomic_clear_long((u_long *)tte, flags);
+
+	pmap_invalidate_page(pmap, va);
 }
 
 void 



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