Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/conf send interrupts to only cpu0, otherwise...



details:   https://anonhg.NetBSD.org/src/rev/d751b059d2a1
branches:  trunk
changeset: 756750:d751b059d2a1
user:      macallan <macallan%NetBSD.org@localhost>
date:      Sat Jul 31 12:24:50 2010 +0000

description:
send interrupts to only cpu0, otherwise we can run into trouble under very high
interrupt load - there is a chance that the same handler serves subsequent
interrupts on different CPUs at the same time

diffstat:

 sys/arch/macppc/conf/GENERIC.MP |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 683ff5870656 -r d751b059d2a1 sys/arch/macppc/conf/GENERIC.MP
--- a/sys/arch/macppc/conf/GENERIC.MP   Sat Jul 31 10:42:22 2010 +0000
+++ b/sys/arch/macppc/conf/GENERIC.MP   Sat Jul 31 12:24:50 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC.MP,v 1.3 2008/08/26 16:55:48 macallan Exp $
+# $NetBSD: GENERIC.MP,v 1.4 2010/07/31 12:24:50 macallan Exp $
 #
 #      GENERIC kernel, plus multiprocessor support.
 
@@ -7,4 +7,5 @@
 options        MULTIPROCESSOR
 options                IPI_HAMMERHEAD
 options                IPI_OPENPIC
-options        OPENPIC_DISTRIBUTE      # let all CPUs serve interrupts
+# this option may cause trouble under very high interrupt load
+#options       OPENPIC_DISTRIBUTE      # let all CPUs serve interrupts



Home | Main Index | Thread Index | Old Index