From: Andrew Morton <akpm@linux-foundation.org>
To: Vijayanand Jitta <vjitta@codeaurora.org>
Cc: Minchan Kim <minchan@kernel.org>, linux-mm <linux-mm@kvack.org>,
glider@google.com, Dan Williams <dan.j.williams@intel.com>,
broonie@kernel.org, mhiramat@kernel.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Yogesh Lal <ylal@codeaurora.org>,
Vinayak Menon <vinmenon@codeaurora.org>
Subject: Re: [PATCH] lib: stackdepot: Add support to configure STACK_HASH_SIZE
Date: Thu, 12 Nov 2020 14:56:49 -0800 [thread overview]
Message-ID: <20201112145649.3fcd9dc4d6d3db4bd26245bb@linux-foundation.org> (raw)
In-Reply-To: <ed4a1e75-3e3a-4950-7bb5-3d83db7bf054@codeaurora.org>
On Thu, 12 Nov 2020 18:26:24 +0530 Vijayanand Jitta <vjitta@codeaurora.org> wrote:
> >> 1. page_owner=off, stackdepot_stack_hash=0 -> no more wasted memory
> >> when we don't use page_owner
> >> 2. page_owner=on, stackdepot_stack_hash=8M -> reasonable hash size
> >> when we use page_owner.
> >>
> >>
> >
> > This idea looks fine to me. Andrew and others would like to hear your
> > comments as well on this before implementing.
> >
> > Thanks,
> > Vijay
> >
>
> Awaiting for comments from Andrew and others.
I don't actually understand the problem.
What is it about page-owner that causes stackdepot to consume
additional memory? As far as I can tell, sizeof(struct stack_record)
isn't affected by page-owner?
next prev parent reply other threads:[~2020-11-12 22:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-22 13:15 [PATCH] lib: stackdepot: Add support to configure STACK_HASH_SIZE vjitta
2020-11-03 23:27 ` Minchan Kim
2020-11-04 10:29 ` Vijayanand Jitta
2020-11-12 12:56 ` Vijayanand Jitta
2020-11-12 22:56 ` Andrew Morton [this message]
2020-11-17 20:42 ` Minchan Kim
2020-11-19 3:34 ` Zhenhua Huang
2020-11-20 5:04 ` Minchan Kim
2020-11-20 7:08 ` Zhenhua Huang
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=20201112145649.3fcd9dc4d6d3db4bd26245bb@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=broonie@kernel.org \
--cc=dan.j.williams@intel.com \
--cc=glider@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhiramat@kernel.org \
--cc=minchan@kernel.org \
--cc=vinmenon@codeaurora.org \
--cc=vjitta@codeaurora.org \
--cc=ylal@codeaurora.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).