Re: [PATCH 1/2] Report the pagesize backing a VMA in /proc/pid/smaps

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexey Dobriyan
Date: Wednesday, October 8, 2008 - 2:38 pm

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.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH] Report the shmid backing a VMA in maps, KOSAKI Motohiro, (Sat Oct 4, 5:04 am)
Re: [RFC PATCH] Report the shmid backing a VMA in maps, KOSAKI Motohiro, (Sat Oct 4, 5:07 am)
Re: [RFC PATCH] Report the shmid backing a VMA in maps, Alexey Dobriyan, (Sat Oct 4, 2:52 pm)
Re: [RFC PATCH] Report the shmid backing a VMA in maps, KOSAKI Motohiro, (Sat Oct 4, 10:48 pm)
Re: [PATCH 1/2] Report the pagesize backing a VMA in /proc ..., Alexey Dobriyan, (Wed Oct 8, 2:38 pm)