aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorNaoya Horiguchi <[email protected]>2012-03-21 16:33:57 -0700
committerLinus Torvalds <[email protected]>2012-03-21 17:54:56 -0700
commit5aaabe831eb527e0d9284f0745d830a755f70393 (patch)
tree2efdfe775da1c727c60ef5bd2d865d2150f68381 /tools/perf/scripts/python/sctop.py
parentb716ad953a2bc4a543143c1d9836b7007a4b182f (diff)
pagemap: avoid splitting thp when reading /proc/pid/pagemap
Thp split is not necessary if we explicitly check whether pmds are mapping thps or not. This patch introduces this check and adds code to generate pagemap entries for pmds mapping thps, which results in less performance impact of pagemap on thp. Signed-off-by: Naoya Horiguchi <[email protected]> Reviewed-by: Andi Kleen <[email protected]> Reviewed-by: KAMEZAWA Hiroyuki <[email protected]> Cc: David Rientjes <[email protected]> Cc: Wu Fengguang <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions