Re: [PATCH 5/5] have smaps show transparent huge pages

Eric B Munson
2011-02-23T15:31:37Z

[-- Attachment #1: Type: text/plain, Size: 763 bytes --]

On Mon, 21 Feb 2011, Dave Hansen wrote:

>
> Now that the mere act of _looking_ at /proc/$pid/smaps will not
> destroy transparent huge pages, tell how much of the VMA is
> actually mapped with them.
>
> This way, we can make sure that we're getting THPs where we
> expect to see them.
>
> v3 - * changed HPAGE_SIZE to HPAGE_PMD_SIZE, probably more correct
> and also has a nice BUG() in case there was a .config mishap
> * remove direct reference to ->page_table_lock, and used the
> passed-in ptl pointer insteadl
>
> Acked-by: Mel Gorman <mel@csn.ul.ie>
> Acked-by: David Rientjes <rientjes@google.com>
> Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com>

Reviewed-and-tested-by: Eric B Munson <emunson@mgebm.net>

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]