From: Dave Hansen Date: Tue, 20 Sep 2011 22:19:41 +0000 (-0700) Subject: teach /proc/$pid/numa_maps about transparent hugepages X-Git-Tag: v3.1-rc7~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32ef43848f283e0ef945d3c67e851c143fea3970;p=pandora-kernel.git teach /proc/$pid/numa_maps about transparent hugepages This is modeled after the smaps code. It detects transparent hugepages and then does a single gather_stats() for the page as a whole. This has two benifits: 1. It is more efficient since it does many pages in a single shot. 2. It does not have to break down the huge page. Signed-off-by: Dave Hansen Acked-by: Hugh Dickins Acked-by: David Rientjes Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed