Date: Sat, 16 May 2015 23:51:24 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r283022 - head/sys/mips/include Message-ID: <201505162351.t4GNpO7k085952@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Sat May 16 23:51:24 2015 New Revision: 283022 URL: https://svnweb.freebsd.org/changeset/base/283022 Log: Increment the vm stats "v_intr" counter so the global system interrupt statistics work again. I'm not sure why/when this broke, only that it used to work fine. This commit is brought to you by Maker Faire Bay Area 2015. Modified: head/sys/mips/include/intr_machdep.h Modified: head/sys/mips/include/intr_machdep.h ============================================================================== --- head/sys/mips/include/intr_machdep.h Sat May 16 23:39:54 2015 (r283021) +++ head/sys/mips/include/intr_machdep.h Sat May 16 23:51:24 2015 (r283022) @@ -70,5 +70,6 @@ mips_intrcnt_inc(mips_intrcnt_t counter) { if (counter) atomic_add_long(counter, 1); + PCPU_INC(cnt.v_intr); } #endif /* !_MACHINE_INTR_MACHDEP_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505162351.t4GNpO7k085952>