Thread (7 messages) flat view 7 messages, 3 authors, 2007-11-20

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

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-11-20 07:10:50

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help