]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
break out numa_maps gather_pte_stats() checks
authorDave Hansen <dave@linux.vnet.ibm.com>
Tue, 20 Sep 2011 22:19:39 +0000 (15:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 Sep 2011 20:15:44 +0000 (13:15 -0700)
commit3200a8aaab0c9ccdc0f59b0dac2d4a47029137fa
tree33ba986eab9d2663b44082c73114e2599cd06537
parenteb4866d0066ffd5446751c102d64feb3318d8bd1
break out numa_maps gather_pte_stats() checks

gather_pte_stats() does a number of checks on a target page
to see whether it should even be considered for statistics.
This breaks that code out in to a separate function so that
we can use it in the transparent hugepage case in the next
patch.

Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com>
Acked-by: Hugh Dickins <hughd@google.com>
Reviewed-by: Christoph Lameter <cl@gentwo.org>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_mmu.c