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 06:08:33

On Tue, 2007-11-20 at 06:09 +0100, Nick Piggin wrote:
This isn't a bugfix, but may help performance slightly...

--
powerpc 64-bit hash pte lock bit is an actual lock, so it can take advantage
of lock bitops for slightly more optimal memory barriers (can avoid an lwsync
in the trylock).

Signed-off-by: Nick Piggin <redacted>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
---
Looks nice, I'll try it out on a G5 and let you know.

Cheers,
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