Re: [PATCH 03/13] crypto: x86/sha - yield FPU context during long loops
From: Herbert Xu
Date: Thu Jan 12 2023 - 03:07:51 EST
On Mon, Dec 19, 2022 at 04:02:13PM -0600, Robert Elliott wrote:
>
> @@ -41,9 +41,7 @@ static int sha1_update(struct shash_desc *desc, const u8 *data,
I just realised a show-stopper with this patch-set. We don't
have a desc->flags field that tells us whether we can sleep or
not.
I'm currently doing a patch-set for per-request keys and I will
add a flags field to shash_desc so we could use that for your
patch-set too.
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt