Port-amd64 archive

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

Re: interrupts on APs



On Fri, Dec 09, 2011 at 05:11:35PM +0000, Matthias Scheler wrote:
> On Fri, Dec 09, 2011 at 06:10:04PM +0100, Manuel Bouyer wrote:
> > > I've got a Dual Core machine with an Intel E7230 chipset:
> > > 
> > >   HP ProLiant ML110 G4 (1.0)
> > >   [...]
> > >   pchb0: Intel E7230 Host (rev. 0xc0)
> > > 
> > > But I would need a patch for "netbsd-5".
> > 
> > I think it's the same as with -HEAD: just change:
> > #if 0
> >                         if (ci == NULL ||
> >                             ci->ci_nintrhand > lci->ci_nintrhand) {
> >                                 ci = lci;
> >                         }
> > #else
> >                        ci = &cpu_info_primary;
> > #endif
> > 
> > to #if 1 in x86/x86/intr.c
> 
> How do I tell whether that causes problems or not? Kernel panics?
> Interrupt storms? Lost interrupts?

In my case it was non-working (lost) interrupts, I guess interrupt storms
could also happen. 

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index