diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-06-02 19:51:52 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-06-05 16:33:23 +0800 |
commit | 7f382577fe8d9ca15d27e943953facf9700dbca0 (patch) | |
tree | cd67c3cae519221d8927e84ea3f83a91094fca62 | |
parent | 255f05806acf104f7213f029ae2fede7a1bca6b7 (diff) | |
download | linux-crypto-7f382577fe8d9ca15d27e943953facf9700dbca0.tar.gz linux-crypto-7f382577fe8d9ca15d27e943953facf9700dbca0.zip |
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 '')
-rw-r--r-- | crypto/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 27720af7..bf8148e7 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -823,6 +823,7 @@ config CRYPTO_BLOWFISH_X86_64 config CRYPTO_BLOWFISH_AVX2_X86_64 tristate "Blowfish cipher algorithm (x86_64/AVX2)" depends on X86 && 64BIT + depends on BROKEN select CRYPTO_ALGAPI select CRYPTO_CRYPTD select CRYPTO_ABLK_HELPER_X86 |