Re: [patch] mm, hugetlb: include hugepages in meminfo

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

 



On Wed, 20 Mar 2013, Michal Hocko wrote:

> On Tue 19-03-13 17:18:12, David Rientjes wrote:
> > Particularly in oom conditions, it's troublesome that hugetlb memory is 
> > not displayed.  All other meminfo that is emitted will not add up to what 
> > is expected, and there is no artifact left in the kernel log to show that 
> > a potentially significant amount of memory is actually allocated as 
> > hugepages which are not available to be reclaimed.
> 
> Yes, I like the idea. It's bitten me already in the past.
> 
> The only objection I have is that you print only default_hstate. You
> just need to wrap your for_each_node_state by for_each_hstate to do
> that.  With that applied, feel free to add my
> Acked-by: Michal Hocko <mhocko@xxxxxxx>
> 

I didn't do this because it isn't already exported in /proc/meminfo and 
since we've made an effort to reduce the amount of information emitted by 
the oom killer at oom kill time to avoid spamming the kernel log, I only 
print the default hstate.

--
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]