On Fri, Oct 03, 2008 at 05:46:54PM +0100, Mel Gorman wrote:
^^^^
VM_BUG_ON is unneeded because kernel will oops here if hstate is NULL.
Also, in /proc/*/maps it's printed only for hugetlb vmas and called
hpagesize, in smaps it's printed for every vma and called
KernelPageSize. All of this is inconsistent.
And app will verify once that hugepages are of right size, so Pss cost
argument for changing /proc/*/maps seems weak to me.
--