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

[Xen-devel] [PATCH 0/2, v2] replace irq <-> pirq mapping array with radix trees



This is to further eliminate non-order-zero runtime allocations.

1: x86: replace nr_irqs sized per-domain arrays with radix trees
2: replace d->nr_pirqs sized arrays with radix tree

The first patch can probably go in right away, for the second my
testing abilities are somewhat limited, and hence it may need to be
considered to wait for e.g. Intel to conduct some more testing (otoh
we're early in the release cycle, so eventual fixes could of course
also be carried out as follow-up patches).

v2: Split setup/teardown into two stages - (de-)allocation (tree node
(de-)population) is done with just d->event_lock held (and hence
interrupts enabled), while actual insertion/removal of translation data
gets done with irq_desc's lock held (and interrupts disabled).

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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