Re: [PATCH 5/5] have smaps show transparent huge pages
From: Eric B Munson
Date: Wed Feb 23 2011 - 10:31:40 EST
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@xxxxxxxxx>
> Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
> Signed-off-by: Dave Hansen <dave@xxxxxxxxxxxxxxxxxx>
Reviewed-and-tested-by: Eric B Munson <emunson@xxxxxxxxx>
Attachment:
signature.asc
Description: Digital signature