Subject: Re: [patch] powerpc: hash lock use lock bitops

From: Benjamin Herrenschmidt <[email-masked]>
Date: Tue, 20 Nov 2007 18:10:40 +1100

On Tue, 2007-11-20 at 07:26 +0100, Nick Piggin wrote:
> 
> BTW, here is another thing which you might want to think about. Again
> untested for temporary lack of hardware.
> 
> --
> 
> The radix-tree is now RCU safe, so powerpc can avoid the games it was playing
> in order to have a lockless readside. Saves an irq disable/enable, a couple of
> __get_cpu_var()s, a cacheline, and a memory barrier, in the fastpath. Should
> save a cycle or two...

Yup, I know. I need to work on that for -rt anyway due to other issues...

Thanks !

Ben.