[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZAsUd3Fg3A6pImbd@gondor.apana.org.au>
Date: Fri, 10 Mar 2023 19:28:55 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Anthony Yznaga <anthony.yznaga@...cle.com>
Cc: daniel.m.jordan@...cle.com, steffen.klassert@...unet.com,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] padata: use alignment when calculating the number of
worker threads
Anthony Yznaga <anthony.yznaga@...cle.com> wrote:
> 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@...cle.com>
> ---
> kernel/padata.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists