From: Peter Zijlstra <peterz@infradead.org>
To: Vineet Gupta <Vineet.Gupta1@synopsys.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARCv2: spinlock/rwlock/atomics: reduce 1 instruction in exponential backoff
Date: Fri, 7 Aug 2015 12:59:51 +0200 [thread overview]
Message-ID: <20150807105951.GG16853@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <1438935739-9937-1-git-send-email-vgupta@synopsys.com>
On Fri, Aug 07, 2015 at 01:52:19PM +0530, Vineet Gupta wrote:
> The increment of delay counter was 2 instructions:
> Arithmatic Shfit Left (ASL) + set to 1 on overflow
>
> This can be done in 1 using ROtate Left (ROL)
Cute :-)
prev parent reply other threads:[~2015-08-07 11:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-07 8:22 Vineet Gupta
2015-08-07 10:59 ` Peter Zijlstra [this message]
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=20150807105951.GG16853@twins.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=Vineet.Gupta1@synopsys.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®