diff options
author | T.J. Alumbaugh <talumbau@google.com> | 2023-05-22 11:20:57 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-09 16:25:40 -0700 |
commit | bd02df412cbb9a63e945a647e3dbe4d6f9e06d19 (patch) | |
tree | 89676432d8864a31b08c90385eb8e699d3c3f32b /mm/workingset.c | |
parent | 5c7e7a0d79072eb02780a2c0dee730b23cde711d (diff) | |
download | lwn-bd02df412cbb9a63e945a647e3dbe4d6f9e06d19.tar.gz lwn-bd02df412cbb9a63e945a647e3dbe4d6f9e06d19.zip |
mm: multi-gen LRU: add helpers in page table walks
Add helpers to page table walking code:
- Clarifies intent via name "should_walk_mmu" and "should_clear_pmd_young"
- Avoids repeating same logic in two places
Link: https://lkml.kernel.org/r/20230522112058.2965866-3-talumbau@google.com
Signed-off-by: T.J. Alumbaugh <talumbau@google.com>
Reviewed-by: Yuanchu Xie <yuanchu@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Yu Zhao <yuzhao@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/workingset.c')
0 files changed, 0 insertions, 0 deletions