linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Rientjes <rientjes@google.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>,
	Michal Hocko <mhocko@suse.cz>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>,
	linux-mm@kvack.org
Subject: Re: [patch] mm, memcg: add anon_hugepage stat
Date: Thu, 25 Apr 2013 16:07:12 -0700 (PDT)	[thread overview]
Message-ID: <alpine.DEB.2.02.1304251606480.3010@chino.kir.corp.google.com> (raw)
In-Reply-To: <20130425145511.68b278d2731846a6502ecc36@linux-foundation.org>

On Thu, 25 Apr 2013, Andrew Morton wrote:

> > This exports the amount of anonymous transparent hugepages for each memcg
> > via memory.stat in bytes.
> > 
> > This is helpful to determine the hugepage utilization for individual jobs
> > on the system in comparison to rss and opportunities where MADV_HUGEPAGE
> > may be helpful.
> > 
> > Signed-off-by: David Rientjes <rientjes@google.com>
> > ---
> >  include/linux/memcontrol.h |  3 ++-
> >  mm/huge_memory.c           |  2 ++
> >  mm/memcontrol.c            | 13 +++++++++----
> >  mm/rmap.c                  | 18 +++++++++++++++---
> 
> And Documentation/cgroups/memory.txt, please.
> 

Sounds good, I'll send a v2 after the memcg maintainers have had a chance 
to give feedback.  Thanks!

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2013-04-25 23:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25 21:41 David Rientjes
2013-04-25 21:55 ` Andrew Morton
2013-04-25 23:07   ` David Rientjes [this message]
2013-04-26 11:17 ` Michal Hocko
2013-04-28 21:40   ` David Rientjes
2013-04-30  0:22     ` [patch] mm, memcg: add rss_huge stat to memory.stat David Rientjes
2013-04-30 17:36       ` Johannes Weiner
2013-05-02 14:17     ` [patch] mm, memcg: add anon_hugepage stat Michal Hocko
2013-05-02 16:01       ` David Rientjes

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=alpine.DEB.2.02.1304251606480.3010@chino.kir.corp.google.com \
    --to=rientjes@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=hannes@cmpxchg.org \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.cz \
    /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