From: Joel Fernandes <joelaf@google.com>
To: Christian Hansen <chansen3@cisco.com>,
"open list:MEMORY MANAGEMENT" <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: idle-page marking in page-types tool
Date: Fri, 15 Mar 2019 08:32:18 -0700 [thread overview]
Message-ID: <CAJWu+ort=_YTh2B=y7iPuhFGVAP2joJugNrmgg3K0yun4uPFQQ@mail.gmail.com> (raw)
Hi Christian,
I am looking into idle page tracking and noticed the page-types tool
in tools/vm/. It seems you are only marking pages as idle if the -f
option is passed ("Walk file address space").
I was curious why you decided do the marking of idle pages only for
files and not anonymous pages?
As doing in the following code:
if (opt_mark_idle && opt_file)
page_idle_fd = checked_open(SYS_KERNEL_MM_PAGE_IDLE, O_RDWR);
We mainly want to do idle page tracking for anonymous regions to
determine howmuch of its anonymous memory is a process really using
actively.
But I was curious what was the reason you did it this way?
thanks,
- Joel
next reply other threads:[~2019-03-15 15:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-15 15:32 Joel Fernandes [this message]
2019-03-25 3:10 ` Joel Fernandes
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='CAJWu+ort=_YTh2B=y7iPuhFGVAP2joJugNrmgg3K0yun4uPFQQ@mail.gmail.com' \
--to=joelaf@google.com \
--cc=akpm@linux-foundation.org \
--cc=chansen3@cisco.com \
--cc=linux-mm@kvack.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