Re: [PATCH 1/1] powerpc/crypto: Add cond_resched() in crc-vpmsum self-test

2019-11-14 Thread Michael Ellerman
On Sun, 2019-11-03 at 23:33:56 UTC, Chris Smart wrote: > 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 l

[PATCH 1/1] powerpc/crypto: Add cond_resched() in crc-vpmsum self-test

2019-11-03 Thread Chris Smart
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.