aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2021-01-04 16:55:50 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-14 17:10:25 +1100
commitd6cbf4eaa46794b173c691a71211d882398d7977 (patch)
treeca94a2b4faddddd6b892f0f4d21f4ece1e22a839 /tools/perf/scripts/python
parentcrypto: aesni - refactor scatterlist processing (diff)
downloadlinux-d6cbf4eaa46794b173c691a71211d882398d7977.tar.gz
linux-d6cbf4eaa46794b173c691a71211d882398d7977.zip
crypto: aesni - replace function pointers with static branches
Replace the function pointers in the GCM implementation with static branches, which are based on code patching, which occurs only at module load time. This avoids the severe performance penalty caused by the use of retpolines. In order to retain the ability to switch between different versions of the implementation based on the input size on cores that support AVX and AVX2, use static branches instead of static calls. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions