aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-05-20 10:31:05 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2023-05-24 18:12:33 +0800
commit66dd59b7aa55d0ea6c0eebfbfe4353eadaac5e1b (patch)
treebb96260793e8f51e33ab5d29909bbfc480e6dd63 /crypto
parentb04b076fb56560b39d695ac3744db457e12278fd (diff)
downloadlinux-66dd59b7aa55d0ea6c0eebfbfe4353eadaac5e1b.tar.gz
crypto: Kconfig - warn about performance overhead of CRYPTO_STATS
Make the help text for CRYPTO_STATS explicitly mention that it reduces the performance of the crypto API. Signed-off-by: Eric Biggers <ebiggers@google.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 42751d63cd4d96..fdf3742f1106bd 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)