Re: [patch] mm, memcg: add anon_hugepage stat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> > ---
> >  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@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]