LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Vaneet Narang <v.narang@samsung.com>
To: Maninder Singh <maninder1.s@samsung.com>,
	"terrelln@fb.com" <terrelln@fb.com>,
	"herbert@gondor.apana.org.au" <herbert@gondor.apana.org.au>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"keescook@chromium.org" <keescook@chromium.org>,
	"gustavo@embeddedor.com" <gustavo@embeddedor.com>
Cc: "linux-crypto@vger.kernel.org" <linux-crypto@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	AMIT SAHRAWAT <a.sahrawat@samsung.com>,
	PANKAJ MISHRA <pankaj.m@samsung.com>,
	Vaneet Narang <v.narang@samsung.com>
Subject: RE: [PATCH 1/2] zstd: pass pointer rathen than structure to functions
Date: Thu, 30 May 2019 14:43:27 +0530	[thread overview]
Message-ID: <20190530091327epcms5p11a7725e9c01286b1a7c023737bf4e448@epcms5p1> (raw)
In-Reply-To: <1557468704-3014-1-git-send-email-maninder1.s@samsung.com>

[Reminder] Any updates ?

> currently params structure is passed in all functions, which increases\r
> stack usage in all the function and lead to stack overflow on target like\r
> ARM with kernel stack size of 8 KB so better to pass pointer.\r
 \r
> Checked for ARM:\r
 \r
\r
> (ZSTD_compressContinue_internal)-> 136                  -> 88\r
> (ZSTD_compressCCtx)             -> 192                  -> 64\r
> (zstd_compress)                 -> 144                  -> 96\r
\r
Regards,\r
Vaneet Narang

  parent reply	other threads:[~2019-05-30  9:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20190510061311epcas5p19e9bf3d08319ac99890e03e0bd59e478@epcas5p1.samsung.com>
2019-05-10  6:11 ` Maninder Singh
2019-05-10 17:39   ` Joe Perches
     [not found]   ` <CGME20190510061311epcas5p19e9bf3d08319ac99890e03e0bd59e478@epcms5p1>
2019-05-30  9:13     ` Vaneet Narang [this message]
2019-05-30 13:35       ` Herbert Xu
2019-06-01  0:12         ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190530091327epcms5p11a7725e9c01286b1a7c023737bf4e448@epcms5p1 \
    --to=v.narang@samsung.com \
    --cc=a.sahrawat@samsung.com \
    --cc=davem@davemloft.net \
    --cc=gustavo@embeddedor.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=keescook@chromium.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maninder1.s@samsung.com \
    --cc=pankaj.m@samsung.com \
    --cc=terrelln@fb.com \
    --subject='RE: [PATCH 1/2] zstd: pass pointer rathen than structure to functions' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).