Re: [PATCH 2/2][RT] powerpc - Make the irq reverse mapping radixtree lockless

From: Sebastien Dugue
Date: Fri Jul 25 2008 - 04:35:42 EST


On Fri, 25 Jul 2008 18:27:20 +1000 Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote:

> On Fri, 2008-07-25 at 09:49 +0200, Peter Zijlstra wrote:
> >
> >
> > The only advantage of the concurrent radix tree over this model is that
> > it can potentially do multiple modification operations at the same time.
>
> Yup, we do not need that for the irq revmap... concurrent lookup is all we need.
>

Shouldn't we care about concurrent insertion and deletion in the tree? I agree
that concern might be a bit artificial but in theory that can happen.

Sebastien.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/