From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Nick Piggin <npiggin@suse.de>
Cc: linuxppc-dev@ozlabs.org, Paul Mackerras <paulus@samba.org>,
Anton Blanchard <anton@samba.org>
Subject: Re: [patch] powerpc: hash lock use lock bitops
Date: Tue, 20 Nov 2007 17:08:24 +1100 [thread overview]
Message-ID: <1195538904.6970.37.camel@pasglop> (raw)
In-Reply-To: <20071120050950.GB18332@wotan.suse.de>
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 <npiggin@suse.de>
> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---
Looks nice, I'll try it out on a G5 and let you know.
Cheers,
Ben.
next prev parent reply other threads:[~2007-11-20 6:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-20 5:08 [patch] xmon bitlock fix Nick Piggin
2007-11-20 5:09 ` [patch] powerpc: hash lock use lock bitops Nick Piggin
2007-11-20 6:08 ` Benjamin Herrenschmidt [this message]
2007-11-20 6:26 ` Nick Piggin
2007-11-20 7:10 ` Benjamin Herrenschmidt
2007-11-20 5:28 ` [patch] xmon bitlock fix Paul Mackerras
2007-11-20 6:03 ` Nick Piggin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1195538904.6970.37.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=anton@samba.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=npiggin@suse.de \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.