lkml.org 
[lkml]   [2013]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] mm, hugetlb: include hugepages in meminfo
On Wed, 20 Mar 2013, Michal Hocko wrote:

> > 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.
>
> I do not see how this would make the output too much excessive. If
> you do not want to have too many lines in the output then the hstate
> loop can be pushed inside the node loop and have only per-node number
> of lines same as you are proposing except you would have a complete
> information.
> Besides that we are talking about handful of hstates.
>

Sigh. Because nobody is going to be mapping non-default hstates and then
not know about them at oom time; 1GB hugepages on x86 with pse must be
reserved at boot and never freed, for example. I'll add them but it's
just a waste of time.


\
 
 \ /
  Last update: 2013-03-20 20:44    [W:1.204 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site