Home
last modified time | relevance | path

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

/linux/mm/
H A Dpgtable-generic.c85 int young; in ptep_clear_flush_young() local
86 young = ptep_test_and_clear_young(vma, address, ptep); in ptep_clear_flush_young()
87 if (young) in ptep_clear_flush_young()
89 return young; in ptep_clear_flush_young()
127 int young; in pmdp_clear_flush_young() local
129 young = pmdp_test_and_clear_young(vma, address, pmdp); in pmdp_clear_flush_young()
130 if (young) in pmdp_clear_flush_young()
132 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 Dinternal.h211 bool writable, young, dirty; in folio_pte_batch() local
234 young = !!pte_young(pte); in folio_pte_batch()
253 *any_young |= young; in folio_pte_batch()
H A Dvmscan.c3423 static bool suitable_to_scan(int total, int young) in suitable_to_scan() argument
3428 return young * n >= total; in suitable_to_scan()
3464 int young = 0; in walk_pte_range() local
3518 young++; in walk_pte_range()
3531 return suitable_to_scan(total, young); in walk_pte_range()
4155 int young = 1; in lru_gen_look_around() local
4229 young++; in lru_gen_look_around()
4237 if (mm_state && suitable_to_scan(i, young)) in lru_gen_look_around()
H A Dhuge_memory.c2747 bool young, write, soft_dirty, pmd_migration = false, uffd_wp = false; in __split_huge_pmd_locked() local
2813 young = is_migration_entry_young(entry); in __split_huge_pmd_locked()
2849 young = pmd_young(old_pmd); in __split_huge_pmd_locked()
2914 if (young) in __split_huge_pmd_locked()
2933 if (!young) in __split_huge_pmd_locked()
/linux/Documentation/mm/
H A Darch_pgtable_helpers.rst23 | pte_young | Tests a young PTE |
39 | pte_mkyoung | Creates a young PTE |
75 | ptep_test_and_clear_young | Clears young from a PTE |
97 | pmd_young | Tests a young PMD |
113 | pmd_mkyoung | Creates a young PMD |
152 | pmdp_test_and_clear_young | Clears young from a PMD |
174 | pud_young | Tests a young PUD |
182 | pud_mkyoung | Creates a young PUD |
207 | 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/arm64/mm/
H A Dcontpte.c312 int young = 0; in contpte_ptep_test_and_clear_young() local
319 young |= __ptep_test_and_clear_young(vma, addr, ptep); in contpte_ptep_test_and_clear_young()
321 return young; in contpte_ptep_test_and_clear_young()
328 int young; in contpte_ptep_clear_flush_young() local
330 young = contpte_ptep_test_and_clear_young(vma, addr, ptep); in contpte_ptep_clear_flush_young()
332 if (young) { in contpte_ptep_clear_flush_young()
342 return young; in contpte_ptep_clear_flush_young()
/linux/include/net/
H A Drequest_sock.h195 atomic_t young; member
235 atomic_dec(&queue->young); in reqsk_queue_removed()
241 atomic_inc(&queue->young); in reqsk_queue_added()
252 return atomic_read(&queue->young); in reqsk_queue_len_young()
/linux/arch/x86/mm/
H A Dpgtable.c623 int young; in pmdp_clear_flush_young()
627 young = pmdp_test_and_clear_young(vma, address, pmdp); in pmdp_clear_flush_young()
628 if (young) in pmdp_clear_flush_young()
631 return young; in pmdp_invalidate_ad()
620 int young; pmdp_clear_flush_young() local
/linux/include/linux/
H A Dpage-flags.h621 FOLIO_TEST_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG()
622 FOLIO_SET_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG()
623 FOLIO_TEST_CLEAR_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG()
628 FOLIO_FLAG_FALSE(young) in FOLIO_SET_FLAG()
629 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.h187 IF_HAVE_PG_IDLE(young) \
/linux/arch/x86/kvm/mmu/
H A Dmmu.c1559 bool young = false; in kvm_rmap_age_gfn_range() local
1585 young = true; in kvm_rmap_age_gfn_range()
1588 return young; in kvm_rmap_age_gfn_range()
1593 bool young = false; in kvm_age_gfn() local
1596 young = kvm_rmap_age_gfn_range(kvm, range, false); in kvm_age_gfn()
1599 young |= kvm_tdp_mmu_age_gfn_range(kvm, range); in kvm_age_gfn()
1601 return young; in kvm_age_gfn()
1606 bool young = false; in kvm_test_age_gfn() local
1609 young = kvm_rmap_age_gfn_range(kvm, range, true); in kvm_test_age_gfn()
1612 young |= kvm_tdp_mmu_test_age_gfn(kvm, range); in kvm_test_age_gfn()
[all …]
/linux/fs/proc/
H A Dtask_mmu.c704 bool compound, bool young, bool dirty, bool locked, in smaps_account() argument
727 if (young || folio_test_young(folio) || folio_test_referenced(folio)) in smaps_account()
799 bool present = false, young = false, dirty = false; in smaps_pte_entry() local
804 young = pte_young(ptent); in smaps_pte_entry()
836 smaps_account(mss, page, false, young, dirty, locked, present); in smaps_pte_entry()
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon323 'memcg' for specific memory cgroup, 'young' for young pages,
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
/linux/Documentation/admin-guide/mm/damon/
H A Dusage.rst412 anonymous pages, ``memcg`` for specific memory cgroup, ``young`` for young
/linux/Documentation/mm/damon/
H A Ddesign.rst579 another filter for rejecting young pages are installed in the order. If a page
582 young or not, since it matches with the first allow-filter. If the page is
583 not anonymous but young, the scheme's action will not be applied, since the
584 second reject-filter blocks it. If the page is neither anonymous nor young,
609 - young page