diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2023-09-21 10:44:17 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-17 01:44:38 +0300 |
commit | 8c9ae56dc73b5ae48a14000b96292bd4f2aeb710 (patch) | |
tree | 4e0109788f7f84d1d5b594af4ead0797b4d63f6c /mm/damon | |
parent | 75c70128a67311070115b90d826a229d4bbbb2b5 (diff) | |
download | linux-8c9ae56dc73b5ae48a14000b96292bd4f2aeb710.tar.xz |
sched/numa, mm: make numa migrate functions to take a folio
The cpupid (or access time) is stored in the head page for THP, so it is
safely to make should_numa_migrate_memory() and numa_hint_fault_latency()
to take a folio. This is in preparation for large folio numa balancing.
Link: https://lkml.kernel.org/r/20230921074417.24004-7-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: "Huang, Ying" <ying.huang@intel.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/damon')
0 files changed, 0 insertions, 0 deletions