aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJan Glauber <[email protected]>2023-06-19 12:33:51 +0200
committerAndrew Morton <[email protected]>2023-06-23 16:59:26 -0700
commit0b52c420350e8f9873ba62768cd8246827184408 (patch)
treee18b21e54419318901415a262a02e7fef05b3999 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent3360cd30a4c569eb601e737e2c10b7bd153210ca (diff)
mm: fix shmem THP counters on migration
The per node numa_stat values for shmem don't change on page migration for THP: grep shmem /sys/fs/cgroup/machine.slice/.../memory.numa_stat: shmem N0=1092616192 N1=10485760 shmem_thp N0=1092616192 N1=10485760 migratepages 9181 0 1: shmem N0=0 N1=1103101952 shmem_thp N0=1092616192 N1=10485760 Fix that by updating shmem_thp counters likewise to shmem counters on page migration. [[email protected]: use folio_test_pmd_mappable instead of folio_test_transhuge] Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Jan Glauber <[email protected]> Reviewed-by: Baolin Wang <[email protected]> Cc: "Huang, Ying" <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions