|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 18/18] xen/arm: IRQ: Handle multiple action per IRQ
On Wed, 2014-04-23 at 15:56 +0100, Julien Grall wrote:
> >> + do
> >> + {
> >> + action->handler(irq, action->dev_id, regs);
> >> + action = action->next;
> >> + } while ( action );
> >
> > What happens if action is freed and recycled in the midst of this loop?
>
> Nothing, the action won't be free until IRQ_INPROGRESS is set (see do ..
> while at the end of release_irq).
BY that logic wasn't the version which used the list macros also safe
then?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |