Repository navigation
Commit d349f0e
crypto: testmgr - add some more preemption points
[ Upstream commit e63e1b0 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 09b9995 commit d349f0e
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1279 | 1279 | | |
1280 | 1280 | | |
1281 | 1281 | | |
| 1282 | + | |
1282 | 1283 | | |
1283 | 1284 | | |
1284 | 1285 | | |
| |||
1493 | 1494 | | |
1494 | 1495 | | |
1495 | 1496 | | |
| 1497 | + | |
1496 | 1498 | | |
1497 | 1499 | | |
1498 | 1500 | | |
| |||
1755 | 1757 | | |
1756 | 1758 | | |
1757 | 1759 | | |
| 1760 | + | |
1758 | 1761 | | |
1759 | 1762 | | |
1760 | 1763 | | |
| |||
1994 | 1997 | | |
1995 | 1998 | | |
1996 | 1999 | | |
| 2000 | + | |
1997 | 2001 | | |
1998 | 2002 | | |
1999 | 2003 | | |
| |||
2336 | 2340 | | |
2337 | 2341 | | |
2338 | 2342 | | |
| 2343 | + | |
2339 | 2344 | | |
2340 | 2345 | | |
2341 | 2346 | | |
| |||
2535 | 2540 | | |
2536 | 2541 | | |
2537 | 2542 | | |
| 2543 | + | |
2538 | 2544 | | |
2539 | 2545 | | |
2540 | 2546 | | |
| |||
0 commit comments