Re: [PATCH 5/5] have smaps show transparent huge pages
From: Eric B Munson <hidden>
Date: 2011-02-23 15:31:37
Also in:
lkml
Attachments
- signature.asc [application/pgp-signature] 490 bytes
From: Eric B Munson <hidden>
Date: 2011-02-23 15:31:37
Also in:
lkml
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 <redacted>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Dave Hansen <redacted>Reviewed-and-tested-by: Eric B Munson [off-list ref]