[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/2] xen/arm: make accesses to desc->status flags atomic
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. Stefano Stabellini (2): xen: introduce bit access macros for the IRQ line status flags xen/arm: make accesses to desc->status flags atomic xen/arch/arm/gic.c | 10 +++++----- xen/arch/arm/irq.c | 29 +++++++++++++++-------------- xen/include/xen/irq.h | 24 ++++++++++++++++-------- 3 files changed, 36 insertions(+), 27 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |