summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
authorEric Biggers2018-12-05 07:20:05 +0100
committerHerbert Xu2018-12-13 11:24:58 +0100
commita033aed5a84eb93a32929b6862602cb283d39e82 (patch)
tree333b9c17544307a5f9fa06ffac438bd116f4f727 /crypto/testmgr.h
parentcrypto: x86/chacha - add XChaCha12 support (diff)
downloadkernel-qcow2-linux-a033aed5a84eb93a32929b6862602cb283d39e82.tar.gz
kernel-qcow2-linux-a033aed5a84eb93a32929b6862602cb283d39e82.tar.xz
kernel-qcow2-linux-a033aed5a84eb93a32929b6862602cb283d39e82.zip
crypto: x86/chacha - yield the FPU occasionally
To improve responsiveness, yield the FPU (temporarily re-enabling preemption) every 4 KiB encrypted/decrypted, rather than keeping preemption disabled during the entire encryption/decryption operation. Alternatively we could do this for every skcipher_walk step, but steps may be small in some cases, and yielding the FPU is expensive on x86. Suggested-by: Martin Willi <martin@strongswan.org> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.h')
0 files changed, 0 insertions, 0 deletions