diff options
author | Chris Smart <chris.smart@humanservices.gov.au> | 2019-11-03 23:33:56 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-11-13 16:58:02 +1100 |
commit | 9f0acf9f80ad504573e6482fb00b53866a9b9d2f (patch) | |
tree | d94448e7ddb7d86fd55684ac49bb9de6cd1e89c3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b1713975c31ae20ecc40fd00191ee3fa51445d4a (diff) |
powerpc/crypto: Add cond_resched() in crc-vpmsum self-test
The stress test for vpmsum implementations executes a long for loop in
the kernel. This blocks the scheduler, which prevents other tasks from
running, resulting in a warning.
This fix adds a call to cond_reshed() at the end of each loop, which
allows the scheduler to run other tasks as required.
Signed-off-by: Chris Smart <chris.smart@humanservices.gov.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191103233356.5472-1-chris.smart@humanservices.gov.au
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions