Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Fix a bug that "vmstat -s" print uvmexp.ncolors inco...
details: https://anonhg.NetBSD.org/src/rev/b3180583bae8
branches: trunk
changeset: 804818:b3180583bae8
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Dec 01 04:02:40 2014 +0000
description:
Fix a bug that "vmstat -s" print uvmexp.ncolors incorrectly.
diffstat:
sys/uvm/uvm_meter.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 9e1044d7a0b3 -r b3180583bae8 sys/uvm/uvm_meter.c
--- a/sys/uvm/uvm_meter.c Mon Dec 01 02:08:34 2014 +0000
+++ b/sys/uvm/uvm_meter.c Mon Dec 01 04:02:40 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_meter.c,v 1.63 2014/02/26 20:33:53 martin Exp $ */
+/* $NetBSD: uvm_meter.c,v 1.64 2014/12/01 04:02:40 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.63 2014/02/26 20:33:53 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_meter.c,v 1.64 2014/12/01 04:02:40 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -174,6 +174,7 @@
u.execpages = uvmexp.execpages;
u.colorhit = uvmexp.colorhit;
u.colormiss = uvmexp.colormiss;
+ u.ncolors = uvmexp.ncolors;
u.cpuhit = uvmexp.cpuhit;
u.cpumiss = uvmexp.cpumiss;
Home |
Main Index |
Thread Index |
Old Index