Subject: Re: Race condition in generic soft interrupts code?
To: Chris Gilbert <chris@dokein.co.uk>
From: Richard Earnshaw <rearnsha@buzzard.freeserve.co.uk>
List: port-arm
Date: 07/15/2003 00:16:58
chris@dokein.co.uk said:
> Hmmm, which platform was this?
As I said an Integrator (evbarm/INTEGRATOR)
> I fixed this on cats, note the tail
> end of footbridge_intr_dispatch does an splx(pcpl), I did mail jason
> about this, see attached, but he probably lost it in his mountains of
> emails.
Ah! I was wondering why the cats port didn't fall flat on its face within
a few milliseconds of enabling interrupts.
Yes, I think your patch would work, but it's much less efficient since the
pending interrupts will cause another trip up through the interrupt entry
code.
R.