diff options
| author | Zi Yan <[email protected]> | 2024-07-24 09:01:14 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:25:47 -0700 |
| commit | 2a28713a67fd28eedc13b32300df6b9c5a2381f5 (patch) | |
| tree | b99b41c1317c28193490fe09ecbb5863edd34140 /tools/perf/scripts/python | |
| parent | 3eb2091c653480e02e9c2a114c4725ec654bca63 (diff) | |
memory tiering: introduce folio_use_access_time() check
If memory tiering mode is on and a folio is not in the top tier memory,
folio's cpupid field is repurposed to store page access time. Instead of
an open coded check, use a function to encapsulate the check.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Zi Yan <[email protected]>
Reviewed-by: "Huang, Ying" <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Reviewed-by: Kefeng Wang <[email protected]>
Cc: Baolin Wang <[email protected]>
Cc: Lorenzo Stoakes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions