[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 0/2] xen/arm: make accesses to desc->status flags atomic



>>> Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> 06/13/14 1:26 PM >>>
>The IRQ line status flags are stored as bits in the status field of
>struct irq_desc. Accesses to the status flags could be atomic but at the
>moment they are not.
>
>Make them atomic on ARM. This allows us to avoid taking the desc
>lock when clearing the IRQ_INPROGRESS flag for irqs routed to the guest.

So patch 2 doesn't drop any acquire/release pair of a lock - was it a bug then
that the lock wasn't taken before?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.