Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1008893rwd; Sat, 20 May 2023 10:42:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4R7d3E8Oc48CvB+5Rt9JvlW7g/+FNh/9AqAhHMveC9VPCScjmjUdsOyqQo5GAB4BpTfIj+ X-Received: by 2002:a17:90a:b381:b0:253:173e:5bf9 with SMTP id e1-20020a17090ab38100b00253173e5bf9mr5401050pjr.22.1684604548208; Sat, 20 May 2023 10:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684604548; cv=none; d=google.com; s=arc-20160816; b=0iMpzohs0KigiLDUhfPH3GGnMva50eMLBlYzL4OfUv2W6lCKpaWbQHYELW+0Zwca2v OpkFc3hShAT/2gE7EDZXsIpa0n+g69Y6R3LG87vRN6P6udQgHAlbqaU3D+elBLKQiD3j knErlCKvmDgKCgA1N438XWeJExWM6Zm8NryvHIYuXD88o7ULldk5f1V7tPOZjuKpgUCL /bk8y1wW5evGMVRiiczA03AgojhHOSam5nLoMQ1+kBUHDrLo06gvwYvSMLM7+xDAJf+d HMQxMX4Vy/hJeB+QQn0ZbQprdfwjEBYIW7UOPTYV7+P59UwPrVO50F8MoEPVxCVfggT7 VVtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=iV3gFeWGMBjf+d/6qRvTGvcURN3zmnV+IOXicf3SHZc=; b=XQFsGfC28fvp0HuN0eea+f+wTFUfGgVgePY5JobNzqpp8UmeRw/gFNziUd6D/jgign kO7xgL2amXTYiAtKFWoyqOfxi0mzeeZ1dU1GS6I0l48G7Rbpsm1O1RhZjWLPPzkXdNl/ 9rU65bhvU7WzhmTXZtOiaqwXJTpF24cMKT33a9gcrYLAa9HtWZB7r3DFLQjYnPEVYOvW KQSx8IQk8p6kv3fvpKVdTrUACpbIRiEM9uiZOfU839srKkv1jAAiKVmpvY9QVDXnDprX fcYhmi6T4ZMwsdrXmIa2O9XSqHl8ZumhssV+o4JaDpOSGZzXc/+zCcJ+QuUFxdb/mXoO DDDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vH2cz99+; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a17090a5e4b00b0024df7c1b9e7si3710678pji.151.2023.05.20.10.42.01; Sat, 20 May 2023 10:42:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vH2cz99+; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231455AbjETRbt (ORCPT + 99 others); Sat, 20 May 2023 13:31:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229617AbjETRbs (ORCPT ); Sat, 20 May 2023 13:31:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BD3FB0 for ; Sat, 20 May 2023 10:31:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9C6D860A09 for ; Sat, 20 May 2023 17:31:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECD60C433EF for ; Sat, 20 May 2023 17:31:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684603907; bh=KFAvUu+44FKYgASeRDY3GAaD0FCGvbMA2vTyDUhjC0k=; h=From:To:Subject:Date:From; b=vH2cz99+xqQwkHUArh9OO8Q2B/Gg1Z/PWhe67WhF1NPRV9Xbbh0BkJzRNgPI7sr91 i3fIiB8b1vB2RqqBTf9Ln1Wsx6uzrHtbrErZhe60wZGFGChs7PFXySU9nuHqoQbiWf /ImGVHI11x9hdacw2ajz1sr6SPiPpoVkCFr2SjSIrldQ8Mpmy46ghg37Xw2vXcjYJV 7Mn+uTssYrWv5tRGxeCFlI9VJh/pVS4Pk78YertlkUmF2F3buDGNs0G4bqmE4vIwoo 0weJZN2uO8gvruKfn8KTLuav5ZZL7K0rs/ZmfqEVpOJqWxe8ykISP2kJEz4jpwW/Cb 7du63nXER34xQ== From: Eric Biggers To: linux-crypto@vger.kernel.org Subject: [PATCH] crypto/Kconfig: warn about performance overhead of CRYPTO_STATS Date: Sat, 20 May 2023 10:31:05 -0700 Message-Id: <20230520173105.8562-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Eric Biggers Make the help text for CRYPTO_STATS explicitly mention that it reduces the performance of the crypto API. Signed-off-by: Eric Biggers --- crypto/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index 42751d63cd4d9..fdf3742f1106b 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -1393,6 +1393,9 @@ config CRYPTO_STATS help Enable the gathering of crypto stats. + Enabling this option reduces the performance of the crypto API. It + should only be enabled when there is actually a use case for it. + This collects data sizes, numbers of requests, and numbers of errors processed by: - AEAD ciphers (encrypt, decrypt) base-commit: f573db7aa528f11820dcc811bc7791b231d22b1c -- 2.40.1