Home
last modified time | relevance | path

Searched refs:young (Results 1 – 22 of 22) sorted by relevance

/linux/mm/
H A Dpgtable-generic.c87 int young; in ptep_clear_flush_young() local
88 young = ptep_test_and_clear_young(vma, address, ptep); in ptep_clear_flush_young()
89 if (young) in ptep_clear_flush_young()
91 return young; in ptep_clear_flush_young()
129 int young; in pmdp_clear_flush_young() local
131 young = pmdp_test_and_clear_young(vma, address, pmdp); in pmdp_clear_flush_young()
132 if (young) in pmdp_clear_flush_young()
134 return young; in pmdp_clear_flush_young()
H A Dmmu_notifier.c372 int young = 0, id; in __mmu_notifier_clear_flush_young() local
379 young |= subscription->ops->clear_flush_young( in __mmu_notifier_clear_flush_young()
384 return young; in __mmu_notifier_clear_flush_young()
392 int young = 0, id; in __mmu_notifier_clear_young() local
399 young |= subscription->ops->clear_young(subscription, in __mmu_notifier_clear_young()
404 return young; in __mmu_notifier_clear_young()
411 int young = 0, id; in __mmu_notifier_test_young() local
418 young = subscription->ops->test_young(subscription, mm, in __mmu_notifier_test_young()
420 if (young) in __mmu_notifier_test_young()
426 return young; in __mmu_notifier_test_young()
H A Dvmscan.c3455 static bool suitable_to_scan(int total, int young) in suitable_to_scan() argument
3460 return young * n >= total; in suitable_to_scan()
3496 int young = 0; in walk_pte_range() local
3550 young++; in walk_pte_range()
3563 return suitable_to_scan(total, young); in walk_pte_range()
4202 int young = 1; in lru_gen_look_around() local
4276 young++; in lru_gen_look_around()
4284 if (mm_state && suitable_to_scan(i, young)) in lru_gen_look_around()
H A Dhuge_memory.c2992 bool soft_dirty, uffd_wp = false, young = false, write = false; in __split_huge_pmd_locked() local
3063 young = softleaf_is_migration_young(entry); in __split_huge_pmd_locked()
3129 young = pmd_young(old_pmd); in __split_huge_pmd_locked()
3194 if (young) in __split_huge_pmd_locked()
3239 if (!young) in __split_huge_pmd_locked()
/linux/mm/damon/
H A Dops-common.c48 bool young = false; in damon_ptep_mkold() local
66 young |= ptep_test_and_clear_young(vma, addr, pte); in damon_ptep_mkold()
67 young |= mmu_notifier_clear_young(vma->vm_mm, addr, addr + PAGE_SIZE); in damon_ptep_mkold()
68 if (young) in damon_ptep_mkold()
80 bool young = false; in damon_pmdp_mkold() local
93 young |= pmdp_clear_young_notify(vma, addr, pmd); in damon_pmdp_mkold()
94 young |= mmu_notifier_clear_young(vma->vm_mm, addr, addr + HPAGE_PMD_SIZE); in damon_pmdp_mkold()
95 if (young) in damon_pmdp_mkold()
H A Dvaddr.c428 bool young; member
453 priv->young = true; in damon_young_pmd_entry()
472 priv->young = true; in damon_young_pmd_entry()
500 priv->young = true; in damon_young_hugetlb_entry()
524 .young = false, in damon_va_young()
530 return arg.young; in damon_va_young()
593 bool young = false; in damos_va_filter_young_match() local
596 young = pte_young(ptep_get(ptep)); in damos_va_filter_young_match()
598 young = pmd_young(pmdp_get(pmdp)); in damos_va_filter_young_match()
600 young = young || !folio_test_idle(folio) || in damos_va_filter_young_match()
[all …]
/linux/Documentation/mm/
H A Darch_pgtable_helpers.rst23 | pte_young | Tests a young PTE |
37 | pte_mkyoung | Creates a young PTE |
71 | ptep_test_and_clear_young | Clears young from a PTE |
93 | pmd_young | Tests a young PMD |
107 | pmd_mkyoung | Creates a young PMD |
144 | pmdp_test_and_clear_young | Clears young from a PMD |
166 | pud_young | Tests a young PUD |
172 | pud_mkyoung | Creates a young PUD |
195 | pudp_test_and_clear_young | Clears young from a PUD |
H A Dmultigen_lru.rst31 profit from discovering a young PTE. A page table walk can sweep all
32 the young PTEs in an address space, but the address space can be too
114 The aging produces young generations. Given an ``lruvec``, it
120 young PTEs. For the former, it iterates ``lruvec_memcg()->mm_list``
123 the latter, when the eviction walks the rmap and finds a young PTE,
124 the aging scans the adjacent PTEs. For both, on finding a young PTE,
190 trips into the rmap. It scans the adjacent PTEs of a young PTE and
204 will be scanned for young pages.
234 1. It has the young and the old (generations), i.e., the counterparts
/linux/arch/x86/mm/
H A Dpgtable.c509 int young; in pmdp_clear_flush_young() local
513 young = pmdp_test_and_clear_young(vma, address, pmdp); in pmdp_clear_flush_young()
514 if (young) in pmdp_clear_flush_young()
517 return young; in pmdp_clear_flush_young()
/linux/arch/arm64/kvm/
H A Dpkvm.c448 bool young = false; in pkvm_pgtable_stage2_test_clear_young() local
452 young |= kvm_call_hyp_nvhe(__pkvm_host_test_clear_young_guest, handle, mapping->gfn, in pkvm_pgtable_stage2_test_clear_young()
455 return young; in pkvm_pgtable_stage2_test_clear_young()
/linux/include/linux/
H A Dpage-flags.h670 FOLIO_TEST_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG()
671 FOLIO_SET_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG()
672 FOLIO_TEST_CLEAR_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG()
677 FOLIO_FLAG_FALSE(young) in FOLIO_SET_FLAG()
678 FOLIO_TEST_CLEAR_FLAG_FALSE(young) in FOLIO_SET_FLAG()
/linux/arch/arm/mm/
H A Dproc-macros.S221 tst r3, #L_PTE_PRESENT | L_PTE_YOUNG @ present and young?
266 tst r3, #L_PTE_PRESENT | L_PTE_YOUNG @ present and young?
/linux/include/trace/events/
H A Dmmflags.h166 IF_HAVE_PG_IDLE(young) \
/linux/arch/x86/kvm/mmu/
H A Dmmu.c1718 bool young = false; in kvm_rmap_age_gfn_range() local
1750 young = true; in kvm_rmap_age_gfn_range()
1756 return young; in kvm_rmap_age_gfn_range()
1766 bool young = false; in kvm_age_gfn() local
1769 young = kvm_tdp_mmu_age_gfn_range(kvm, range); in kvm_age_gfn()
1772 young |= kvm_rmap_age_gfn_range(kvm, range, false); in kvm_age_gfn()
1774 return young; in kvm_age_gfn()
1779 bool young = false; in kvm_test_age_gfn() local
1782 young = kvm_tdp_mmu_test_age_gfn(kvm, range); in kvm_test_age_gfn()
1784 if (young) in kvm_test_age_gfn()
[all …]
/linux/arch/arm64/kvm/hyp/
H A Dpgtable.c1281 bool young; member
1293 data->young = true; in stage2_age_walker()
1326 return data.young; in kvm_pgtable_stage2_test_clear_young()
/linux/Documentation/mm/damon/
H A Ddesign.rst668 another filter for rejecting young pages are installed in the order. If a page
671 young or not, since it matches with the first allow-filter. If the page is
672 not anonymous but young, the scheme's action will not be applied, since the
673 second reject-filter blocks it. If the page is neither anonymous nor young,
691 - young
/linux/fs/proc/
H A Dtask_mmu.c904 bool compound, bool young, bool dirty, bool locked, in smaps_account() argument
929 if (young || folio_test_young(folio) || folio_test_referenced(folio)) in smaps_account()
1012 bool present = false, young = false, dirty = false; in smaps_pte_entry() local
1017 young = pte_young(ptent); in smaps_pte_entry()
1048 smaps_account(mss, page, false, young, dirty, locked, present); in smaps_pte_entry()
/linux/arch/arm64/include/asm/
H A Dpgtable.h1343 int young = __ptep_test_and_clear_young(vma, address, ptep); in __ptep_clear_flush_young() local
1345 if (young) { in __ptep_clear_flush_young()
1357 return young; in __ptep_clear_flush_young()
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon386 'memcg' for specific memory cgroup, 'young' for young pages,
H A Dsysfs-fs-f2fs581 Description: When ATGC is on, it controls age threshold to bypass GCing young
H A Dsysfs-driver-ufs1474 Contact: Jinyoung Choi <j-young.choi@samsung.com>
/linux/Documentation/process/
H A D7.AdvancedTopics.rst25 edges and poses certain hazards; it is a young and powerful tool which is