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 > Acked-by: David Rientjes > Signed-off-by: Dave Hansen Reviewed-and-tested-by: Eric B Munson