summaryrefslogtreecommitdiff
path: root/crypto/fcrypt.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-06-02 22:42:33 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2019-06-13 14:31:40 +0800
commitca3f8c46b1cdeb98b220d104e26cf0b503f25628 (patch)
tree8c6b62d14690c3d4b88c681147385f0f7dc0e231 /crypto/fcrypt.c
parentc42b28b252e45fba5af66d3e68839606c33593ee (diff)
downloadlinux-crypto-ca3f8c46b1cdeb98b220d104e26cf0b503f25628.tar.gz
linux-crypto-ca3f8c46b1cdeb98b220d104e26cf0b503f25628.zip
crypto: testmgr - add some more preemption points
Call cond_resched() after each fuzz test iteration. This avoids stall warnings if fuzz_iterations is set very high for testing purposes. While we're at it, also call cond_resched() after finishing testing each test vector. Signed-off-by: Eric Biggers <ebiggers@google.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/fcrypt.c')
0 files changed, 0 insertions, 0 deletions