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 18:10:40 +1100 [thread overview]
Message-ID: <1195542640.6970.39.camel@pasglop> (raw)
In-Reply-To: <20071120062618.GB31514@wotan.suse.de>
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.
next prev parent reply other threads:[~2007-11-20 7:10 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
2007-11-20 6:26 ` Nick Piggin
2007-11-20 7:10 ` Benjamin Herrenschmidt [this message]
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=1195542640.6970.39.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).