Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Sort in uvmexp_sysctl's order for readability. No fu...
details: https://anonhg.NetBSD.org/src/rev/8ba304a205a3
branches: trunk
changeset: 334677:8ba304a205a3
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Dec 01 04:11:14 2014 +0000
description:
Sort in uvmexp_sysctl's order for readability. No functional change.
diffstat:
sys/uvm/uvm_meter.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 83b2d5cce382 -r 8ba304a205a3 sys/uvm/uvm_meter.c
--- a/sys/uvm/uvm_meter.c Mon Dec 01 04:02:40 2014 +0000
+++ b/sys/uvm/uvm_meter.c Mon Dec 01 04:11:14 2014 +0000
@@ -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 @@
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 @@
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;
Home |
Main Index |
Thread Index |
Old Index