svn commit: r207740 - head/sys/vm

Alan Cox alc at FreeBSD.org
Fri May 7 06:58:53 UTC 2010


Author: alc
Date: Fri May  7 06:58:53 2010
New Revision: 207740
URL: http://svn.freebsd.org/changeset/base/207740

Log:
  Update the synchronization requirements for the page usage count.

Modified:
  head/sys/vm/vm_page.h

Modified: head/sys/vm/vm_page.h
==============================================================================
--- head/sys/vm/vm_page.h	Fri May  7 05:23:15 2010	(r207739)
+++ head/sys/vm/vm_page.h	Fri May  7 06:58:53 2010	(r207740)
@@ -116,7 +116,7 @@ struct vm_page {
 	u_int wire_count;		/* wired down maps refs (P) */
 	short hold_count;		/* page hold count (P) */
 	u_short oflags;			/* page flags (O) */
-	u_char	act_count;		/* page usage count (Q) */
+	u_char	act_count;		/* page usage count (P) */
 	u_char	busy;			/* page busy count (O) */
 	/* NOTE that these must support one bit per DEV_BSIZE in a page!!! */
 	/* so, on normal X86 kernels, they must be at least 8 bits wide */


More information about the svn-src-head mailing list