[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAG_fn=UUo3tP1XtdOntNG1krvbPV7pmE9XXwMyuhL2gMUoc4Jw@mail.gmail.com>
Date: Wed, 23 Dec 2020 15:40:54 +0100
From: Alexander Potapenko <glider@...gle.com>
To: Vijayanand Jitta <vjitta@...eaurora.org>
Cc: Minchan Kim <minchan@...nel.org>,
Vincenzo Frascino <vincenzo.frascino@....com>,
dan.j.williams@...el.com, broonie@...nel.org,
Masami Hiramatsu <mhiramat@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Andrey Konovalov <andreyknvl@...gle.com>, qcai@...hat.com,
ylal@...eaurora.org, vinmenon@...eaurora.org,
kasan-dev <kasan-dev@...glegroups.com>
Subject: Re: [PATCH v3] lib: stackdepot: Add support to configure STACK_HASH_SIZE
>
> Michan, We would still need config option so that we can reduce the
> memory consumption on low ram devices using config.
>
> Alex, On this,
> "I also suppose device vendors may prefer setting a fixed (maybe
> non-default) hash size for low-memory devices rather than letting the
> admins increase it."
> I see kernel param swiotlb does similar thing i.e; '0' to disable and
> set a value to configure size.
>
> I am fine with either of the approaches,
>
> 1. I can split this patch into two
> i) A bool variable to enable/disable stack depot.
> ii) A config for the size.
I still believe this is a more appropriate solution.
Thanks in advance!
Powered by blists - more mailing lists