|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [xen-unstable test] 6947: regressions - trouble: broken/
On 03/05/2011 14:36, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:
>> But the readers in irq context will call lookup_slot() without d->event_lock
>> held? In that case you do need an RCU-aware version of radix-tree.[ch],
>> because lookups can be occurring concurrently with insertions/deletions.
>
> No, in IRQ context we only need the irq -> pirq translation afaics, and
> that translation doesn't use an allocated object (it instead simply inserts
> the [non-zero] pirq as data item).
Ah well that makes things easier. :-) If a single lock protects all
operations (including lookups) on a particular radix tree then of course we
don't need RCU.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|