Re: SMP in 2.4

Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz)
Sat, 21 Apr 2001 11:08:31 +0200 (CEST)


> > testb %al, intr_pending
> > jnz somewhere_away_to_handle_defered_interrupt
> >
> > And - of course - interrupt checks intr_lock in its entry and if it is
> > zero, sets intr_pending and exits immediatelly.
>
> And immediately gets called again. You have to mask the irq which is non trivial
> especially if you want to do it right on the BX. But you can do this and rtlinux
> does

There is already desc->handler->ack(irq) in do_IRQ which does that. Is any
more special handling needed?

Mikulas

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/