aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorStephen Wilson <[email protected]>2011-05-24 17:12:42 -0700
committerLinus Torvalds <[email protected]>2011-05-25 08:39:32 -0700
commit29ea2f6982f1edc4302729116f2246dd7b45471d (patch)
treeb40d85bf30c25537bd269407748abbdb3644a54f /tools/perf/scripts/python/sched-migration.py
parentd98f6cb67fb5b9376d4957d7ba9f32eac35c2e08 (diff)
mm: use walk_page_range() instead of custom page table walking code
Converting show_numa_map() to use the generic routine decouples the function from mempolicy.c, allowing it to be moved out of the mm subsystem and into fs/proc. Also, include KSM pages in /proc/pid/numa_maps statistics. The pagewalk logic implemented by check_pte_range() failed to account for such pages as they were not applicable to the page migration case. Signed-off-by: Stephen Wilson <[email protected]> Reviewed-by: KOSAKI Motohiro <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: David Rientjes <[email protected]> Cc: Lee Schermerhorn <[email protected]> Cc: Alexey Dobriyan <[email protected]> Cc: Christoph Lameter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions