diff options
| author | Zi Yan <[email protected]> | 2024-08-09 10:59:06 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:26:06 -0700 |
| commit | 727d50a7e07259291981b5d84607dc9966def4b1 (patch) | |
| tree | ba441dbfe855161b8b307eafeed7f9a418ff84b0 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 07222371912c835d12b3541791d0516f50c7b45b (diff) | |
mm/migrate: move common code to numa_migrate_check (was numa_migrate_prep)
do_numa_page() and do_huge_pmd_numa_page() share a lot of common code. To
reduce redundancy, move common code to numa_migrate_prep() and rename the
function to numa_migrate_check() to reflect its functionality.
Now do_huge_pmd_numa_page() also checks shared folios to set TNF_SHARED
flag.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Zi Yan <[email protected]>
Suggested-by: David Hildenbrand <[email protected]>
Reviewed-by: "Huang, Ying" <[email protected]>
Reviewed-by: Baolin Wang <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Baolin Wang <[email protected]>
Cc: Kefeng Wang <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Yang Shi <[email protected]>
Cc: Zi Yan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions