Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/kern Pull up following revision(s) (requested by knak...
details: https://anonhg.NetBSD.org/src/rev/a09d6f7be5fc
branches: netbsd-7
changeset: 799830:a09d6f7be5fc
user: martin <martin%NetBSD.org@localhost>
date: Sun Mar 06 17:32:02 2016 +0000
description:
Pull up following revision(s) (requested by knakahara in ticket #1103):
sys/kern/subr_pool.c: revision 1.206
fix: "vmstat -C" CpuLayer showed only the last cpu values.
diffstat:
sys/kern/subr_pool.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r c846d3a199b0 -r a09d6f7be5fc sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c Fri Mar 04 21:25:36 2016 +0000
+++ b/sys/kern/subr_pool.c Sun Mar 06 17:32:02 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_pool.c,v 1.203 2014/06/13 19:09:07 joerg Exp $ */
+/* $NetBSD: subr_pool.c,v 1.203.2.1 2016/03/06 17:32:02 martin Exp $ */
/*-
* Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008, 2010, 2014
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.203 2014/06/13 19:09:07 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.203.2.1 2016/03/06 17:32:02 martin Exp $");
#include "opt_ddb.h"
#include "opt_lockdebug.h"
@@ -2814,8 +2814,8 @@
cc = pc->pc_cpus[i];
if (cc == NULL)
continue;
- data.pr_cache_nmiss_pcpu = cc->cc_misses;
- data.pr_cache_nhit_pcpu = cc->cc_hits;
+ data.pr_cache_nmiss_pcpu += cc->cc_misses;
+ data.pr_cache_nhit_pcpu += cc->cc_hits;
}
} else {
data.pr_cache_meta_size = 0;
Home |
Main Index |
Thread Index |
Old Index