diff options
author | Eric Biggers <ebiggers@google.com> | 2023-05-20 19:31:05 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-05-24 12:12:33 +0200 |
commit | 66dd59b7aa55d0ea6c0eebfbfe4353eadaac5e1b (patch) | |
tree | bb96260793e8f51e33ab5d29909bbfc480e6dd63 /crypto | |
parent | crypto: nx - fix build warnings when DEBUG_FS is not enabled (diff) | |
download | linux-66dd59b7aa55d0ea6c0eebfbfe4353eadaac5e1b.tar.xz linux-66dd59b7aa55d0ea6c0eebfbfe4353eadaac5e1b.zip |
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/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 42751d63cd4d..fdf3742f1106 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) |