All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Fernandes <joel@joelfernandes.org>
To: Christian Hansen <chansen3@cisco.com>,
	"open list:MEMORY MANAGEMENT" <linux-mm@kvack.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: idle-page marking in page-types tool
Date: Sun, 24 Mar 2019 23:10:55 -0400	[thread overview]
Message-ID: <20190325031055.GA51047@google.com> (raw)
In-Reply-To: <CAJWu+ort=_YTh2B=y7iPuhFGVAP2joJugNrmgg3K0yun4uPFQQ@mail.gmail.com>

Hi,

Ping? Thanks a lot.

On Fri, Mar 15, 2019 at 08:32:18AM -0700, Joel Fernandes wrote:
> 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
> 


      reply	other threads:[~2019-03-25  3:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-15 15:32 idle-page marking in page-types tool Joel Fernandes
2019-03-25  3:10 ` Joel Fernandes [this message]

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=20190325031055.GA51047@google.com \
    --to=joel@joelfernandes.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.