Re: [PATCH] crypto: hisilicon/hpre - don't use GFP_KERNEL to alloc mem during softirq

From: Herbert Xu
Date: Mon Jul 18 2022 - 23:47:42 EST


On Tue, Jul 19, 2022 at 11:31:02AM +0800, shaozhengchao wrote:
>
> Thank you for your reply. I think differentiate the application scenarios
> of GFP flags, which can be more suitable to allocate memory.

You need to have a very strong reason to do this. I don't think
it's appropriate here.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt