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

Michael Ellerman patch-notifications at ellerman.id.au
Thu Nov 14 20:08:17 AEDT 2019


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 loop, which
> allows the scheduler to run other tasks as required.
> 
> Signed-off-by: Chris Smart <chris.smart at humanservices.gov.au>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/9f0acf9f80ad504573e6482fb00b53866a9b9d2f

cheers


More information about the Linuxppc-dev mailing list