PERFORCE change 111045 for review

Todd Miller millert at FreeBSD.org
Mon Dec 4 10:35:20 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=111045

Change 111045 by millert at millert_g5tower on 2006/12/04 18:33:25

	The contents of avc_cache_stats should be of type atomic_t.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/avc/avc.h#8 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/avc/avc.h#8 (text+ko) ====

@@ -89,12 +89,12 @@
  */
 struct avc_cache_stats
 {
-	unsigned int lookups;
-	unsigned int hits;
-	unsigned int misses;
-	unsigned int allocations;
-	unsigned int reclaims;
-	unsigned int frees;
+	atomic_t lookups;
+	atomic_t hits;
+	atomic_t misses;
+	atomic_t allocations;
+	atomic_t reclaims;
+	atomic_t frees;
 };
 
 /*


More information about the trustedbsd-cvs mailing list