Re: 2.1.131-ac3 3c509 no irq_save in the sender code

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 9 Dec 1998 14:33:38 +0000 (GMT)


> Ok, but now I can' t understand why the tx can be interrupted by the rx
> irq handler in UP safely but not in SMP... What am I mussing here?

Uni processor

EL3_WINDOW(1)
out to fifo
out to fifo
IRQ
stats change
EL3_WINDOW(6)
stat read
stat read
stat read
EL3_WINDOW(1)
IRQ return
out to fifo
out to fifo

SMP

CPU0 CPU1

EL3_WINDOW(1)
out to fifo
out to fifo IRQ
out to fifo stats change
out to fifo EL3_WINDOW(6)
out to stats read stats
out to stats EL3_WINDOW(1)
out to fifo IRQ return

...

You blast bits of packet into the stats data...

Alan

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