summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorDave Hansen <dave@linux.vnet.ibm.com>2011-09-21 00:19:41 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-09-21 22:15:44 +0200
commit32ef43848f283e0ef945d3c67e851c143fea3970 (patch)
treedc220a36bd188772896ba27db36b243ae1718385 /init/main.c
parentbreak out numa_maps gather_pte_stats() checks (diff)
downloadlinux-32ef43848f283e0ef945d3c67e851c143fea3970.tar.xz
linux-32ef43848f283e0ef945d3c67e851c143fea3970.zip
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 <dave@linux.vnet.ibm.com> Acked-by: Hugh Dickins <hughd@google.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions