Re: [PATCH] crypto: testmgr - add some more preemption points

2019-06-13 Thread Herbert Xu
Eric Biggers wrote: > From: Eric Biggers > > 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

Re: [PATCH] crypto: testmgr - add some more preemption points

2019-06-02 Thread Ard Biesheuvel
On Mon, 3 Jun 2019 at 07:42, Eric Biggers wrote: > > From: Eric Biggers > > 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 > te

[PATCH] crypto: testmgr - add some more preemption points

2019-06-02 Thread Eric Biggers
From: Eric Biggers 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 --- crypto/testmgr.c |