On Mon, 3 Jun 2019 14:32:05 +0530 Maninder Singh
wrote:
>
> Subject: [PATCH 3/4] zstd: move params structure to global variable to reduce
> stack usage
If this affected lib/zstd/ I'd be alarmed. But it's a client of
lib/zstd that is choosing to have a single kernel-wide
As params structure remains same for lifetime, just initialise it
at init time and make it global variable.
Signed-off-by: Maninder Singh
Signed-off-by: Vaneet Narang
---
crypto/zstd.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/crypto/zstd.c b/crypto/zstd.c
ind