svn commit: r283022 - head/sys/mips/include

Adrian Chadd adrian at FreeBSD.org
Sat May 16 23:51:25 UTC 2015


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_ */


More information about the svn-src-all mailing list