diff options
author | Anthony Yznaga <anthony.yznaga@oracle.com> | 2023-02-22 16:33:12 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-03-14 17:06:44 +0800 |
commit | f84155ca851849e5e8981fddd3945a6cfeea220c (patch) | |
tree | c7d55b635867808a7efb12f0dac98d8a6906d443 /arch/arm64/crypto/aes-neonbs-core.S | |
parent | crypto: qce - Add a QCE IP family compatible 'qcom,qce' (diff) | |
download | linux-f84155ca851849e5e8981fddd3945a6cfeea220c.tar.gz linux-f84155ca851849e5e8981fddd3945a6cfeea220c.tar.bz2 linux-f84155ca851849e5e8981fddd3945a6cfeea220c.zip |
padata: use alignment when calculating the number of worker threads
For multithreaded jobs the computed chunk size is rounded up by the
caller-specified alignment. However, the number of worker threads to
use is computed using the minimum chunk size without taking alignment
into account. A sufficiently large alignment value can result in too
many worker threads being allocated for the job.
Signed-off-by: Anthony Yznaga <anthony.yznaga@oracle.com>
Acked-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto/aes-neonbs-core.S')
0 files changed, 0 insertions, 0 deletions