[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190530091327epcms5p11a7725e9c01286b1a7c023737bf4e448@epcms5p1>
Date: Thu, 30 May 2019 14:43:27 +0530
From: Vaneet Narang <v.narang@...sung.com>
To: Maninder Singh <maninder1.s@...sung.com>,
"terrelln@...com" <terrelln@...com>,
"herbert@...dor.apana.org.au" <herbert@...dor.apana.org.au>,
"davem@...emloft.net" <davem@...emloft.net>,
"keescook@...omium.org" <keescook@...omium.org>,
"gustavo@...eddedor.com" <gustavo@...eddedor.com>
CC: "linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
AMIT SAHRAWAT <a.sahrawat@...sung.com>,
PANKAJ MISHRA <pankaj.m@...sung.com>,
Vaneet Narang <v.narang@...sung.com>
Subject: RE: [PATCH 1/2] zstd: pass pointer rathen than structure to
functions
[Reminder] Any updates ?
> currently params structure is passed in all functions, which increases
> stack usage in all the function and lead to stack overflow on target like
> ARM with kernel stack size of 8 KB so better to pass pointer.
> Checked for ARM:
> (ZSTD_compressContinue_internal)-> 136 -> 88
> (ZSTD_compressCCtx) -> 192 -> 64
> (zstd_compress) -> 144 -> 96
Regards,
Vaneet Narang
Powered by blists - more mailing lists