Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2006 18:34:22 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 111045 for review
Message-ID:  <200612041834.kB4IYMIE089529@repoman.freebsd.org>

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

Change 111045 by millert@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;
 };
 
 /*



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