diff options
| author | Zi Yan <ziy@nvidia.com> | 2024-07-24 09:01:14 -0400 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-01 20:25:47 -0700 |
| commit | 2a28713a67fd28eedc13b32300df6b9c5a2381f5 (patch) | |
| tree | b99b41c1317c28193490fe09ecbb5863edd34140 /include/linux/zstd.h | |
| 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/20240724130115.793641-3-ziy@nvidia.com
Signed-off-by: Zi Yan <ziy@nvidia.com>
Reviewed-by: "Huang, Ying" <ying.huang@intel.com>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/zstd.h')
0 files changed, 0 insertions, 0 deletions
