/linux-6.12.1/mm/ |
D | pgtable-generic.c | 85 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()
|
D | mmu_notifier.c | 372 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()
|
D | internal.h | 210 bool writable, young, dirty; in folio_pte_batch() local 233 young = !!pte_young(pte); in folio_pte_batch() 252 *any_young |= young; in folio_pte_batch()
|
D | vmscan.c | 3367 static bool suitable_to_scan(int total, int young) in suitable_to_scan() argument 3372 return young * n >= total; in suitable_to_scan() 3383 int young = 0; in walk_pte_range() local 3419 young++; in walk_pte_range() 3438 return suitable_to_scan(total, young); in walk_pte_range() 4050 int young = 1; in lru_gen_look_around() local 4119 young++; in lru_gen_look_around() 4145 if (mm_state && suitable_to_scan(i, young)) in lru_gen_look_around() 4656 unsigned long young = 0; in should_run_aging() local 4680 young += size; in should_run_aging() [all …]
|
D | huge_memory.c | 2655 bool young, write, soft_dirty, pmd_migration = false, uffd_wp = false; in __split_huge_pmd_locked() local 2721 young = is_migration_entry_young(entry); in __split_huge_pmd_locked() 2757 young = pmd_young(old_pmd); in __split_huge_pmd_locked() 2822 if (young) in __split_huge_pmd_locked() 2841 if (!young) in __split_huge_pmd_locked()
|
/linux-6.12.1/Documentation/mm/ |
D | arch_pgtable_helpers.rst | 23 | 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 |
|
D | multigen_lru.rst | 31 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.12.1/arch/arm64/mm/ |
D | contpte.c | 312 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.12.1/include/net/ |
D | request_sock.h | 195 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.12.1/mm/damon/ |
D | vaddr.c | 436 bool young; member 470 priv->young = true; in damon_young_pmd_entry() 494 priv->young = true; in damon_young_pmd_entry() 523 priv->young = true; in damon_young_hugetlb_entry() 547 .young = false, in damon_va_young() 553 return arg.young; in damon_va_young()
|
/linux-6.12.1/arch/x86/mm/ |
D | pgtable.c | 620 int young; in pmdp_clear_flush_young() local 624 young = pmdp_test_and_clear_young(vma, address, pmdp); in pmdp_clear_flush_young() 625 if (young) in pmdp_clear_flush_young() 628 return young; in pmdp_clear_flush_young()
|
/linux-6.12.1/include/linux/ |
D | page-flags.h | 616 FOLIO_TEST_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG() 617 FOLIO_SET_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG() 618 FOLIO_TEST_CLEAR_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_SET_FLAG() 623 FOLIO_FLAG_FALSE(young) in FOLIO_SET_FLAG() 624 FOLIO_TEST_CLEAR_FLAG_FALSE(young) in FOLIO_SET_FLAG()
|
/linux-6.12.1/arch/arm/mm/ |
D | proc-macros.S | 221 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.12.1/net/ipv4/ |
D | inet_connection_sock.c | 1019 atomic_inc(&queue->young); in reqsk_queue_migrated() 1140 int young = reqsk_queue_len_young(queue) << 1; in reqsk_timer_handler() local 1143 if (qlen < young) in reqsk_timer_handler() 1146 young <<= 1; in reqsk_timer_handler() 1157 atomic_dec(&queue->young); in reqsk_timer_handler()
|
/linux-6.12.1/include/trace/events/ |
D | mmflags.h | 123 IF_HAVE_PG_IDLE(young) \
|
/linux-6.12.1/arch/arm64/kvm/hyp/ |
D | pgtable.c | 1265 bool young; member 1277 data->young = true; in stage2_age_walker() 1310 return data.young; in kvm_pgtable_stage2_test_clear_young()
|
/linux-6.12.1/arch/x86/kvm/mmu/ |
D | mmu.c | 1624 bool young = false; in kvm_rmap_age_gfn_range() local 1653 young = true; in kvm_rmap_age_gfn_range() 1656 return young; in kvm_rmap_age_gfn_range() 1661 bool young = false; in kvm_age_gfn() local 1664 young = kvm_rmap_age_gfn_range(kvm, range, false); in kvm_age_gfn() 1667 young |= kvm_tdp_mmu_age_gfn_range(kvm, range); in kvm_age_gfn() 1669 return young; in kvm_age_gfn() 1674 bool young = false; in kvm_test_age_gfn() local 1677 young = kvm_rmap_age_gfn_range(kvm, range, true); in kvm_test_age_gfn() 1680 young |= kvm_tdp_mmu_test_age_gfn(kvm, range); in kvm_test_age_gfn() [all …]
|
/linux-6.12.1/fs/proc/ |
D | task_mmu.c | 704 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-6.12.1/arch/arm64/include/asm/ |
D | pgtable.h | 1245 int young = __ptep_test_and_clear_young(vma, address, ptep); in __ptep_clear_flush_young() local 1247 if (young) { in __ptep_clear_flush_young() 1259 return young; in __ptep_clear_flush_young()
|
/linux-6.12.1/drivers/perf/ |
D | xgene_pmu.c | 407 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.12.1/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-damon | 323 'memcg' for specific memory cgroup, 'young' for young pages,
|
D | sysfs-fs-f2fs | 578 Description: When ATGC is on, it controls age threshold to bypass GCing young
|
/linux-6.12.1/Documentation/process/ |
D | 7.AdvancedTopics.rst | 25 edges and poses certain hazards; it is a young and powerful tool which is
|
/linux-6.12.1/Documentation/admin-guide/mm/damon/ |
D | usage.rst | 418 ``memcg`` for specific memory cgroup, ``young`` for young pages, ``addr`` for
|
/linux-6.12.1/Documentation/mm/damon/ |
D | design.rst | 527 - young page
|