Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/kern/subr_pool.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/kern/subr_pool.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.203 retrieving revision 1.203.2.1 diff -u -p -r1.203 -r1.203.2.1 --- src/sys/kern/subr_pool.c 2014/06/13 19:09:07 1.203 +++ src/sys/kern/subr_pool.c 2016/03/06 17:32:02 1.203.2.1 @@ -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 -__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 @@ pool_sysctl(SYSCTLFN_ARGS) 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;