From patchwork Wed Feb 3 15:39:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhaskar Chowdhury X-Patchwork-Id: 375524 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DFA9C433DB for ; Wed, 3 Feb 2021 15:42:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0566D64F8C for ; Wed, 3 Feb 2021 15:42:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233491AbhBCPmF (ORCPT ); Wed, 3 Feb 2021 10:42:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234466AbhBCPkf (ORCPT ); Wed, 3 Feb 2021 10:40:35 -0500 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEAF1C061573; Wed, 3 Feb 2021 07:39:53 -0800 (PST) Received: by mail-qt1-x82c.google.com with SMTP id w20so15606113qta.0; Wed, 03 Feb 2021 07:39:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Szz2d5g4+tntyXnCUwRqwxbX80mODpAHIKwbZzrC9Ic=; b=nUlTmPut9KdlDq/IaDkdCQSR39emnvn700krfch+1X+lppYOABQxM+XaxNDp0ngVEv kMyclZ7vgPTB92D6RgXJqW2YaMlNquRY50u4TJQtkizqPEQgK1O4SIXsaL8PQESXy8Vd T83HGP46Tb5KxQ3S9XNTYpG4dvzmHPlyr3cmLTGQwlthEY2+60ytIpYAja/YF5GyOj4g cgl74pvMyq07klF1g6mI42wS5oZqr+ossU7qtgHdK+fmRD7Rr0skrrNH7FY+hzZRGHH7 999w6aZb1jgB8RIjMmVCsPLsJabAT/OryGoXU5zgfGnmSkE/+WMLtDXqArZW+ZCLccr6 mpnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Szz2d5g4+tntyXnCUwRqwxbX80mODpAHIKwbZzrC9Ic=; b=W0FgA5hSJdLIfB0CQJRjcuSpMiGrtvY4W/AeJoV75twK3QLFierP7wi6Z47PCIWgwd ZAi9uAONiia1zCUodCKD3x0SIiLyBvR4f6RAf5WsglfBu1EVVL/v6Hp5py/cDfa+xhTl xzWbIR1A/l8LMVFjqXnWky2NpHOPQ4KZHvH1hOfBsmrgg2OrcSO5k31FJXyXpkizZgAP oSip3Rm3Za1+U61XC5puXjiWxZ0+GUMMAu86sXmSTNHzBw5zGTwRQXLHgARpaKDxsh/U vCq0q6qFixk6gOZx80MTgn2KC/WC6eOhq9yAjfwy0L4J20Al4heVMUb3PS1PkAE2O7mg DpPQ== X-Gm-Message-State: AOAM532rl0x41j5cSunWFp8pt+u6dNrjxg+W5nz3QLl1PZzNdZq/+pqv zsWUkKiPrHFoG+F396XwZ6k= X-Google-Smtp-Source: ABdhPJwKPfqoGBqizojzqGe7DRza1dTy/1sxx3WKAZHnMV5KcR/hBuhGfIDxohTlBqnBmij39yAG4g== X-Received: by 2002:ac8:4517:: with SMTP id q23mr2970684qtn.284.1612366793161; Wed, 03 Feb 2021 07:39:53 -0800 (PST) Received: from localhost.localdomain ([156.146.36.139]) by smtp.gmail.com with ESMTPSA id t71sm1903316qka.86.2021.02.03.07.39.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 07:39:51 -0800 (PST) From: Bhaskar Chowdhury To: herbert@gondor.apana.org.au, davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: rdunlap@infradead.org, Bhaskar Chowdhury Subject: [PATCH] crypto: Fixed optimzation to optimization in the file crypto/xor.c Date: Wed, 3 Feb 2021 21:09:33 +0530 Message-Id: <20210203153933.9443-1-unixbhaskar@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org s/optimzation/optimization/ Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap --- crypto/xor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.26.2 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(); }