Home
last modified time | relevance | path

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

12

/linux-6.15/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.h252 bool writable, young, dirty; in folio_pte_batch() local
279 young = !!pte_young(pte); in folio_pte_batch()
290 *any_young |= young; in folio_pte_batch()
H A Dvmscan.c3461 static bool suitable_to_scan(int total, int young) in suitable_to_scan() argument
3466 return young * n >= total; in suitable_to_scan()
3502 int young = 0; in walk_pte_range() local
3556 young++; in walk_pte_range()
3569 return suitable_to_scan(total, young); in walk_pte_range()
4193 int young = 1; in lru_gen_look_around() local
4267 young++; in lru_gen_look_around()
4275 if (mm_state && suitable_to_scan(i, young)) in lru_gen_look_around()
H A Dhuge_memory.c2861 bool young, write, soft_dirty, pmd_migration = false, uffd_wp = false; in __split_huge_pmd_locked() local
2929 young = is_migration_entry_young(entry); in __split_huge_pmd_locked()
2965 young = pmd_young(old_pmd); in __split_huge_pmd_locked()
3030 if (young) in __split_huge_pmd_locked()
3049 if (!young) in __split_huge_pmd_locked()
/linux-6.15/mm/damon/
H A Dops-common.c46 bool young = false; in damon_ptep_mkold() local
64 young |= ptep_test_and_clear_young(vma, addr, pte); in damon_ptep_mkold()
65 young |= mmu_notifier_clear_young(vma->vm_mm, addr, addr + PAGE_SIZE); in damon_ptep_mkold()
66 if (young) in damon_ptep_mkold()
H A Dvaddr.c437 bool young; member
471 priv->young = true; in damon_young_pmd_entry()
495 priv->young = true; in damon_young_pmd_entry()
524 priv->young = true; in damon_young_hugetlb_entry()
548 .young = false, in damon_va_young()
554 return arg.young; in damon_va_young()
/linux-6.15/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-6.15/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-6.15/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-6.15/arch/x86/mm/
H A Dpgtable.c579 int young; in pmdp_clear_flush_young() local
583 young = pmdp_test_and_clear_young(vma, address, pmdp); in pmdp_clear_flush_young()
584 if (young) in pmdp_clear_flush_young()
587 return young; in pmdp_clear_flush_young()
/linux-6.15/arch/arm64/kvm/
H A Dpkvm.c435 bool young = false; in pkvm_pgtable_stage2_test_clear_young() local
439 young |= kvm_call_hyp_nvhe(__pkvm_host_test_clear_young_guest, handle, mapping->gfn, in pkvm_pgtable_stage2_test_clear_young()
442 return young; in pkvm_pgtable_stage2_test_clear_young()
/linux-6.15/include/linux/
H A Dpage-flags.h665 FOLIO_TEST_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG()
666 FOLIO_SET_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG()
667 FOLIO_TEST_CLEAR_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG()
672 FOLIO_FLAG_FALSE(young) in FOLIO_SET_FLAG()
673 FOLIO_TEST_CLEAR_FLAG_FALSE(young) in FOLIO_SET_FLAG()
/linux-6.15/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-6.15/net/ipv4/
H A Dinet_connection_sock.c1007 atomic_inc(&queue->young); in reqsk_queue_migrated()
1128 int young = reqsk_queue_len_young(queue) << 1; in reqsk_timer_handler() local
1131 if (qlen < young) in reqsk_timer_handler()
1134 young <<= 1; in reqsk_timer_handler()
1145 atomic_dec(&queue->young); in reqsk_timer_handler()
/linux-6.15/include/trace/events/
H A Dmmflags.h166 IF_HAVE_PG_IDLE(young) \
/linux-6.15/arch/x86/kvm/mmu/
H A Dmmu.c1713 bool young = false; in kvm_rmap_age_gfn_range() local
1745 young = true; in kvm_rmap_age_gfn_range()
1751 return young; in kvm_rmap_age_gfn_range()
1761 bool young = false; in kvm_age_gfn() local
1764 young = kvm_tdp_mmu_age_gfn_range(kvm, range); in kvm_age_gfn()
1769 return young; in kvm_age_gfn()
1774 bool young = false; in kvm_test_age_gfn() local
1777 young = kvm_tdp_mmu_test_age_gfn(kvm, range); in kvm_test_age_gfn()
1779 if (young) in kvm_test_age_gfn()
1780 return young; in kvm_test_age_gfn()
[all …]
/linux-6.15/arch/arm64/kvm/hyp/
H A Dpgtable.c1248 bool young; member
1260 data->young = true; in stage2_age_walker()
1293 return data.young; in kvm_pgtable_stage2_test_clear_young()
/linux-6.15/fs/proc/
H A Dtask_mmu.c704 bool compound, bool young, bool dirty, bool locked, in smaps_account() argument
729 if (young || folio_test_young(folio) || folio_test_referenced(folio)) in smaps_account()
812 bool present = false, young = false, dirty = false; in smaps_pte_entry() local
817 young = pte_young(ptent); in smaps_pte_entry()
849 smaps_account(mss, page, false, young, dirty, locked, present); in smaps_pte_entry()
/linux-6.15/Documentation/mm/damon/
H A Ddesign.rst640 another filter for rejecting young pages are installed in the order. If a page
643 young or not, since it matches with the first allow-filter. If the page is
644 not anonymous but young, the scheme's action will not be applied, since the
645 second reject-filter blocks it. If the page is neither anonymous nor young,
663 - young
/linux-6.15/arch/arm64/include/asm/
H A Dpgtable.h1275 int young = __ptep_test_and_clear_young(vma, address, ptep); in __ptep_clear_flush_young() local
1277 if (young) { in __ptep_clear_flush_young()
1289 return young; in __ptep_clear_flush_young()
/linux-6.15/drivers/perf/
H A Dxgene_pmu.c407 XGENE_PMU_EVENT_ATTR(young-replacement, 0x1e),
412 XGENE_PMU_EVENT_ATTR(young-r-replacement, 0x23),
413 XGENE_PMU_EVENT_ATTR(young-nr-replacement, 0x24),
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-damon353 'memcg' for specific memory cgroup, 'young' for young pages,
/linux-6.15/Documentation/process/
H A D7.AdvancedTopics.rst25 edges and poses certain hazards; it is a young and powerful tool which is

12