Re: SMP _death_

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 28 Apr 1997 21:38:28 +0100 (BST)


> > int do_random, cpu = smp_processor_id();
> > + synchronize_irq();
> > irq_enter(cpu, irq);
> > kstat.interrupts[irq]++;
> >
> > Although this can't possibly be the right fix, it can hint us as to
> > where it really is. All this patch does is single thread all
> > interrupt handling, which means there is a re-entrancy problem in some
> > driver still which has yet to be resolved.

Maybe we should default that way, and add a "IRQ_NOSYNC" flag, and do
this the right way around instead of the arse backwards break it and
patch like crazy approach at the moment.

Alan