From: Mel Gorman Date: Tue, 6 Jan 2009 22:38:53 +0000 (-0800) Subject: mm: report the pagesize backing a VMA in /proc/pid/smaps X-Git-Tag: v2.6.29-rc1~491 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08fba69986e20c1c9e5fe2e6064d146cc4f42480;p=pandora-kernel.git mm: report the pagesize backing a VMA in /proc/pid/smaps It is useful to verify a hugepage-aware application is using the expected pagesizes for its memory regions. This patch creates an entry called KernelPageSize in /proc/pid/smaps that is the size of page used by the kernel to back a VMA. The entry is not called PageSize as it is possible the MMU uses a different size. This extension should not break any sensible parser that skips lines containing unrecognised information. Signed-off-by: Mel Gorman Acked-by: "KOSAKI Motohiro" Cc: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed