]> Pileus Git - ~andy/linux/commitdiff
crypto: blowfish - disable AVX2 implementation
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 2 Jun 2013 16:51:52 +0000 (19:51 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 5 Jun 2013 08:33:23 +0000 (16:33 +0800)
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>
crypto/Kconfig

index 27720af741b4b9778ce9d1d7273daea188161b01..bf8148e74e73cbf4fb077a3b82a9301581c34d12 100644 (file)
@@ -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