From: Randy Dunlap <rdunlap@infradead.org>
To: Bhaskar Chowdhury <unixbhaskar@gmail.com>,
herbert@gondor.apana.org.au, davem@davemloft.net,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] crypto: Fixed optimzation to optimization in the file crypto/xor.c
Date: Wed, 3 Feb 2021 08:43:32 -0800 [thread overview]
Message-ID: <befa11b1-a5e8-5f70-9fb0-fa91b754b571@infradead.org> (raw)
In-Reply-To: <20210203153933.9443-1-unixbhaskar@gmail.com>
On 2/3/21 7:39 AM, Bhaskar Chowdhury wrote:
>
> s/optimzation/optimization/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> crypto/xor.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/crypto/xor.c b/crypto/xor.c
> index eacbf4f93990..c046d074f522 100644
> --- a/crypto/xor.c
> +++ b/crypto/xor.c
> @@ -95,7 +95,7 @@ do_xor_speed(struct xor_block_template *tmpl, void *b1, void *b2)
> for (i = 0; i < 3; i++) {
> start = ktime_get();
> for (j = 0; j < REPS; j++) {
> - mb(); /* prevent loop optimzation */
> + mb(); /* prevent loop optimization */
> tmpl->do_2(BENCH_SIZE, b1, b2);
> mb();
> }
> --
> 2.26.2
>
--
~Randy
next prev parent reply other threads:[~2021-02-03 16:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-03 15:39 Bhaskar Chowdhury
2021-02-03 16:43 ` Randy Dunlap [this message]
2021-02-10 7:23 ` Herbert Xu
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=befa11b1-a5e8-5f70-9fb0-fa91b754b571@infradead.org \
--to=rdunlap@infradead.org \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=unixbhaskar@gmail.com \
/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®