PERFORCE change 99958 for review

Christian S.J. Peron csjp at FreeBSD.org
Sun Jun 25 01:16:42 UTC 2006


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

Change 99958 by csjp at csjp_rnd01 on 2006/06/25 01:15:54

	I am reasonly sure that reads of the system page size variable
	do not need to be protected as this is constant.

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/kern/kern_mib.c#3 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/kern/kern_mib.c#3 (text+ko) ====

@@ -146,7 +146,7 @@
 SYSCTL_INT(_hw, HW_BYTEORDER, byteorder, CTLFLAG_RD,
     0, BYTE_ORDER, "System byte order");
 
-SYSCTL_INT(_hw, HW_PAGESIZE, pagesize, CTLFLAG_RD,
+SYSCTL_INT(_hw, HW_PAGESIZE, pagesize, CTLFLAG_RD | CTLFLAG_MPSAFE,
     0, PAGE_SIZE, "System memory page size");
 
 static int


More information about the p4-projects mailing list