]> git.baikalelectronics.ru Git - kernel.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)
commitbfb7ed789753a3beb879415a6ad114fbfbe01d4d
tree33ba986eab9d2663b44082c73114e2599cd06537
parentd7e1155463fc56237f1182390b3efb975c7c2dc2
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