Module Name:    src
Committed By:   msaitoh
Date:           Mon Dec  1 04:11:14 UTC 2014

Modified Files:
        src/sys/uvm: uvm_meter.c

Log Message:
Sort in uvmexp_sysctl's order for readability. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/uvm/uvm_meter.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/uvm/uvm_meter.c
diff -u src/sys/uvm/uvm_meter.c:1.64 src/sys/uvm/uvm_meter.c:1.65
--- src/sys/uvm/uvm_meter.c:1.64	Mon Dec  1 04:02:40 2014
+++ src/sys/uvm/uvm_meter.c	Mon Dec  1 04:11:14 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_meter.c,v 1.64 2014/12/01 04:02:40 msaitoh Exp $	*/
+/*	$NetBSD: uvm_meter.c,v 1.65 2014/12/01 04:11:14 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_meter.c,v 1.64 2014/12/01 04:02:40 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_meter.c,v 1.65 2014/12/01 04:11:14 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -123,6 +123,8 @@ sysctl_vm_uvmexp2(SYSCTLFN_ARGS)
 	u.swpginuse = uvmexp.swpginuse;
 	u.swpgonly = uvmexp.swpgonly;
 	u.nswget = uvmexp.nswget;
+	u.cpuhit = uvmexp.cpuhit;
+	u.cpumiss = uvmexp.cpumiss;
 	for (CPU_INFO_FOREACH(cii, ci)) {
 		u.faults += ci->ci_data.cpu_nfault;
 		u.traps += ci->ci_data.cpu_ntrap;
@@ -175,8 +177,6 @@ sysctl_vm_uvmexp2(SYSCTLFN_ARGS)
 	u.colorhit = uvmexp.colorhit;
 	u.colormiss = uvmexp.colormiss;
 	u.ncolors = uvmexp.ncolors;
-	u.cpuhit = uvmexp.cpuhit;
-	u.cpumiss = uvmexp.cpumiss;
 
 	node = *rnode;
 	node.sysctl_data = &u;

Reply via email to