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

From: KOSAKI Motohiro
Date: Thu Sep 25 2008 - 10:51:51 EST


> 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 <mel@xxxxxxxxx>

looks good to me.
and, I tested this patch on x86_64 mmotm 0923 and it works well.


Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/