/linux/mm/ |
H A 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()
|
H A D | mmu_notifier.c | 370 int young = 0, id; in __mmu_notifier_clear_flush_young() local 377 young |= subscription->ops->clear_flush_young( in __mmu_notifier_clear_flush_young() 382 return young; in __mmu_notifier_clear_flush_young() 390 int young = 0, id; in __mmu_notifier_clear_young() local 397 young |= subscription->ops->clear_young(subscription, in __mmu_notifier_clear_young() 402 return young; in __mmu_notifier_clear_young() 409 int young = 0, id; in __mmu_notifier_test_young() local 416 young = subscription->ops->test_young(subscription, mm, in __mmu_notifier_test_young() 418 if (young) in __mmu_notifier_test_young() 424 return young; in __mmu_notifier_test_young()
|
H A D | internal.h | 136 * first one is young. 159 bool writable, young, dirty; in folio_pte_batch() local 182 young = !!pte_young(pte); in folio_pte_batch() 201 *any_young |= young; in folio_pte_batch()
|
H A D | vmscan.c | 3338 static bool suitable_to_scan(int total, int young) in suitable_to_scan() argument 3343 return young * n >= total; in suitable_to_scan() 3354 int young = 0; in walk_pte_range() local 3395 young++; in walk_pte_range() 3414 return suitable_to_scan(total, young); in walk_pte_range() 4010 int young = 0; in lru_gen_look_around() local 4076 young++; in lru_gen_look_around() 4102 if (mm_state && suitable_to_scan(i, young)) in lru_gen_look_around() 4621 unsigned long young = 0; in should_run_aging() local 4645 young += size; in should_run_aging() [all …]
|
H A D | huge_memory.c | 2063 * dirty/young flags set by hardware. in change_huge_pmd() 2372 bool young, write, soft_dirty, pmd_migration = false, uffd_wp = false; in __split_huge_pmd_locked() local 2438 young = is_migration_entry_young(entry); in __split_huge_pmd_locked() 2474 young = pmd_young(old_pmd); in __split_huge_pmd_locked() 2539 if (young) in __split_huge_pmd_locked() 2558 if (!young) in __split_huge_pmd_locked()
|
/linux/Documentation/mm/ |
H A 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 | 99 | pmd_young | Tests a young PMD | 115 | pmd_mkyoung | Creates a young PMD | 154 | pmdp_test_and_clear_young | Clears young from a PMD | 178 | pud_young | Tests a young PUD | 186 | pud_mkyoung | Creates a young PUD | 211 | pudp_test_and_clear_young | Clears young from a PUD |
|
H A 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/arch/arm64/mm/ |
H A 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/include/net/ |
H A D | request_sock.h | 228 atomic_t young; member 268 atomic_dec(&queue->young); in reqsk_queue_removed() 274 atomic_inc(&queue->young); in reqsk_queue_added() 285 return atomic_read(&queue->young); in reqsk_queue_len_young()
|
/linux/mm/damon/ |
H A D | vaddr.c | 434 bool young; member 468 priv->young = true; in damon_young_pmd_entry() 492 priv->young = true; in damon_young_pmd_entry() 521 priv->young = true; in damon_young_hugetlb_entry() 545 .young = false, in damon_va_young() 551 return arg.young; in damon_va_young()
|
/linux/arch/x86/mm/ |
H A 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/include/linux/ |
H A D | page-flags.h | 631 FOLIO_TEST_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_TEST_FLAG() argument 632 FOLIO_SET_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_TEST_FLAG() 633 FOLIO_TEST_CLEAR_FLAG(young, FOLIO_HEAD_PAGE) in FOLIO_TEST_FLAG() 638 FOLIO_FLAG_FALSE(young) in FOLIO_TEST_FLAG() 639 FOLIO_TEST_CLEAR_FLAG_FALSE(young) in FOLIO_TEST_FLAG()
|
/linux/arch/arm/mm/ |
H A 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/net/ipv4/ |
H A D | inet_connection_sock.c | 960 atomic_inc(&queue->young); in reqsk_queue_migrated() 1071 int young = reqsk_queue_len_young(queue) << 1; in reqsk_timer_handler() local 1074 if (qlen < young) in reqsk_timer_handler() 1077 young <<= 1; in reqsk_timer_handler() 1088 atomic_dec(&queue->young); in reqsk_timer_handler()
|
/linux/include/trace/events/ |
H A D | mmflags.h | 125 IF_HAVE_PG_IDLE(young) \
|
/linux/fs/proc/ |
H A D | task_mmu.c | 444 bool compound, bool young, bool dirty, bool locked, in smaps_account() argument 467 if (young || folio_test_young(folio) || folio_test_referenced(folio)) in smaps_account() 534 bool migration = false, young = false, dirty = false; in smaps_pte_entry() local 539 young = pte_young(ptent); in smaps_pte_entry() 570 smaps_account(mss, page, false, young, dirty, locked, migration); in smaps_pte_entry()
|
/linux/arch/arm64/kvm/hyp/ |
H A D | pgtable.c | 1307 bool young; member 1319 data->young = true; in stage2_age_walker() 1352 return data.young; in kvm_pgtable_stage2_test_clear_young()
|
/linux/arch/x86/kvm/mmu/ |
H A D | mmu.c | 1578 int young = 0; in kvm_age_rmap() local 1581 young |= mmu_spte_age(sptep); in kvm_age_rmap() 1583 return young; in kvm_age_rmap() 1634 bool young = false; in kvm_age_gfn() local 1637 young = kvm_handle_gfn_range(kvm, range, kvm_age_rmap); in kvm_age_gfn() 1640 young |= kvm_tdp_mmu_age_gfn_range(kvm, range); in kvm_age_gfn() 1642 return young; in kvm_age_gfn() 1647 bool young = false; in kvm_test_age_gfn() local 1650 young = kvm_handle_gfn_range(kvm, range, kvm_test_age_rmap); in kvm_test_age_gfn() 1653 young |= kvm_tdp_mmu_test_age_gfn(kvm, range); in kvm_test_age_gfn() [all …]
|
/linux/arch/arm64/include/asm/ |
H A D | pgtable.h | 1169 int young = __ptep_test_and_clear_young(vma, address, ptep); in __ptep_clear_flush_young() local 1171 if (young) { in __ptep_clear_flush_young() 1183 return young; in __ptep_clear_flush_young()
|
/linux/drivers/perf/ |
H A 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/Documentation/ABI/testing/ |
H A D | sysfs-kernel-mm-damon | 317 'memcg' for specific memory cgroup, 'young' for young pages,
|
H A D | sysfs-fs-f2fs | 578 Description: When ATGC is on, it controls age threshold to bypass GCing young
|
/linux/Documentation/process/ |
H A D | 7.AdvancedTopics.rst | 25 edges and poses certain hazards; it is a young and powerful tool which is
|
/linux/Documentation/admin-guide/mm/damon/ |
H A D | usage.rst | 414 ``memcg`` for specific memory cgroup, ``young`` for young pages, ``addr`` for
|
/linux/Documentation/mm/damon/ |
H A D | design.rst | 480 - young page
|