Author: avg
Date: Fri Apr 13 07:15:40 2012
New Revision: 234207
URL: http://svn.freebsd.org/changeset/base/234207

Log:
  bump INTRCNT_COUNT values to reflect actual numbers of IPI counters
  
  Maybe the numbers should be conditionalized on COUNT_IPIS
  
  Reviewed by:  jhb
  MFC after:    1 week

Modified:
  head/sys/amd64/include/intr_machdep.h
  head/sys/i386/include/intr_machdep.h

Modified: head/sys/amd64/include/intr_machdep.h
==============================================================================
--- head/sys/amd64/include/intr_machdep.h       Fri Apr 13 06:15:51 2012        
(r234206)
+++ head/sys/amd64/include/intr_machdep.h       Fri Apr 13 07:15:40 2012        
(r234207)
@@ -60,10 +60,10 @@
  * - 1 ??? dummy counter.
  * - 2 counters for each I/O interrupt.
  * - 1 counter for each CPU for lapic timer.
- * - 7 counters for each CPU for IPI counters for SMP.
+ * - 8 counters for each CPU for IPI counters for SMP.
  */
 #ifdef SMP
-#define        INTRCNT_COUNT   (1 + NUM_IO_INTS * 2 + (1 + 7) * MAXCPU)
+#define        INTRCNT_COUNT   (1 + NUM_IO_INTS * 2 + (1 + 8) * MAXCPU)
 #else
 #define        INTRCNT_COUNT   (1 + NUM_IO_INTS * 2 + 1)
 #endif

Modified: head/sys/i386/include/intr_machdep.h
==============================================================================
--- head/sys/i386/include/intr_machdep.h        Fri Apr 13 06:15:51 2012        
(r234206)
+++ head/sys/i386/include/intr_machdep.h        Fri Apr 13 07:15:40 2012        
(r234207)
@@ -60,10 +60,10 @@
  * - 1 ??? dummy counter.
  * - 2 counters for each I/O interrupt.
  * - 1 counter for each CPU for lapic timer.
- * - 7 counters for each CPU for IPI counters for SMP.
+ * - 9 counters for each CPU for IPI counters for SMP.
  */
 #ifdef SMP
-#define        INTRCNT_COUNT   (1 + NUM_IO_INTS * 2 + (1 + 7) * MAXCPU)
+#define        INTRCNT_COUNT   (1 + NUM_IO_INTS * 2 + (1 + 9) * MAXCPU)
 #else
 #define        INTRCNT_COUNT   (1 + NUM_IO_INTS * 2 + 1)
 #endif
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to