Re: [PATCH 3/3] powerpc - Make the irq reverse mapping radix tree lockless

2008-08-05 Thread Sebastien Dugue
On Mon, 04 Aug 2008 09:31:36 -0700 Daniel Walker <[EMAIL PROTECTED]> wrote: > On Mon, 2008-08-04 at 13:08 +0200, Sebastien Dugue wrote: > > > --- a/arch/powerpc/include/asm/irq.h > > +++ b/arch/powerpc/include/asm/irq.h > > @@ -119,6 +119,7 @@ struct irq_host { > > } linear; > >

Re: [PATCH 3/3] powerpc - Make the irq reverse mapping radix tree lockless

2008-08-04 Thread Daniel Walker
On Mon, 2008-08-04 at 13:08 +0200, Sebastien Dugue wrote: > --- a/arch/powerpc/include/asm/irq.h > +++ b/arch/powerpc/include/asm/irq.h > @@ -119,6 +119,7 @@ struct irq_host { > } linear; > struct radix_tree_root tree; > } revmap_data; > + spinlock_t

[PATCH 3/3] powerpc - Make the irq reverse mapping radix tree lockless

2008-08-04 Thread Sebastien Dugue
The radix trees used by interrupt controllers for their irq reverse mapping (currently only the XICS found on pSeries) have a complex locking scheme dating back to before the advent of the lockless radix tree. Take advantage of this and of the fact that the items of the tree are pointers to a