diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-06-02 12:51:52 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-06-05 04:33:23 -0400 |
commit | edb7c7cdba90c3fb2339e51c15d21982bdf72fdc (patch) | |
tree | f260b953d382dbc9e2dd193f4e13a1f7b1c6810b /crypto | |
parent | 3ef91f21a66826cf1003bb7b3c51ac2de4c28182 (diff) |
crypto: blowfish - disable AVX2 implementation
It appears that the performance of 'vpgatherdd' is suboptimal for this kind of
workload (tested on Core i5-4570) and causes blowfish-avx2 to be significantly
slower than blowfish-amd64. So disable the AVX2 implementation to avoid
performance regressions.
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 27720af741b4..bf8148e74e73 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig | |||
@@ -823,6 +823,7 @@ config CRYPTO_BLOWFISH_X86_64 | |||
823 | config CRYPTO_BLOWFISH_AVX2_X86_64 | 823 | config CRYPTO_BLOWFISH_AVX2_X86_64 |
824 | tristate "Blowfish cipher algorithm (x86_64/AVX2)" | 824 | tristate "Blowfish cipher algorithm (x86_64/AVX2)" |
825 | depends on X86 && 64BIT | 825 | depends on X86 && 64BIT |
826 | depends on BROKEN | ||
826 | select CRYPTO_ALGAPI | 827 | select CRYPTO_ALGAPI |
827 | select CRYPTO_CRYPTD | 828 | select CRYPTO_CRYPTD |
828 | select CRYPTO_ABLK_HELPER_X86 | 829 | select CRYPTO_ABLK_HELPER_X86 |