Home
last modified time | relevance | path

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

/linux/mm/damon/
H A Dops-common.c46 bool young = false; in damon_ptep_mkold() local
68 young |= ptep_test_and_clear_young(vma, PAGE_ALIGN_DOWN(addr), in damon_ptep_mkold()
70 young |= mmu_notifier_clear_young(vma->vm_mm, addr, addr + PAGE_SIZE); in damon_ptep_mkold()
71 if (young) in damon_ptep_mkold()
83 bool young = false; in damon_pmdp_mkold() local
96 young |= pmdp_test_and_clear_young(vma, addr, pmd); in damon_pmdp_mkold()
97 young |= mmu_notifier_clear_young(vma->vm_mm, addr, addr + HPAGE_PMD_SIZE); in damon_pmdp_mkold()
98 if (young) in damon_pmdp_mkold()
H A Dvaddr.c393 bool young; member
418 priv->young = true; in damon_young_pmd_entry()
436 priv->young = true; in damon_young_pmd_entry()
463 priv->young = true; in damon_young_hugetlb_entry()
478 .young = false, in damon_va_young()
487 return arg.young; in damon_va_young()
534 bool young = false; in damos_va_filter_young_match() local
537 young = pte_young(ptep_get(ptep)); in damos_va_filter_young_match()
539 young = pmd_young(pmdp_get(pmdp)); in damos_va_filter_young_match()
541 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/mm/
H A Dinternal.h1568 bool young; in clear_flush_young_ptes_notify() local
1570 young = clear_flush_young_ptes(vma, addr, ptep, nr); in clear_flush_young_ptes_notify()
1571 young |= mmu_notifier_clear_flush_young(vma->vm_mm, addr, in clear_flush_young_ptes_notify()
1573 return young; in clear_flush_young_ptes_notify()
1579 bool young; in pmdp_clear_flush_young_notify() local
1581 young = pmdp_clear_flush_young(vma, addr, pmdp); in pmdp_clear_flush_young_notify()
1582 young |= mmu_notifier_clear_flush_young(vma->vm_mm, addr, addr + PMD_SIZE); in pmdp_clear_flush_young_notify()
1583 return young; in pmdp_clear_flush_young_notify()
1589 bool young; in test_and_clear_young_ptes_notify() local
1591 young = test_and_clear_young_ptes(vma, addr, ptep, nr); in test_and_clear_young_ptes_notify()
[all …]
H A Dvmscan.c3506 static bool suitable_to_scan(int total, int young) in suitable_to_scan() argument
3511 return young * n >= total; in suitable_to_scan()
3547 int young = 0; in walk_pte_range() local
3613 young += nr; in walk_pte_range()
3626 return suitable_to_scan(total, young); in walk_pte_range()
4264 int young = nr; in lru_gen_look_around() local
4353 young += nr; in lru_gen_look_around()
4361 if (mm_state && suitable_to_scan(i, young)) in lru_gen_look_around()
H A Dhuge_memory.c3192 bool soft_dirty, uffd_wp = false, young = false, write = false; in __split_huge_pmd_locked() local
3265 young = softleaf_is_migration_young(entry); in __split_huge_pmd_locked()
3331 young = pmd_young(old_pmd); in __split_huge_pmd_locked()
3396 if (young) in __split_huge_pmd_locked()
3441 if (!young) in __split_huge_pmd_locked()
/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/net/ipv4/
H A Dinet_connection_sock.c971 atomic_inc(&queue->young); in reqsk_queue_migrated()
1091 int young = reqsk_queue_len_young(queue) << 1; in reqsk_timer_handler() local
1094 if (qlen < young) in reqsk_timer_handler()
1097 young <<= 1; in reqsk_timer_handler()
1112 atomic_dec(&queue->young); in reqsk_timer_handler()
/linux/arch/arm64/kvm/hyp/
H A Dpgtable.c1309 bool young; member
1321 data->young = true; in stage2_age_walker()
1354 return data.young; in kvm_pgtable_stage2_test_clear_young()
/linux/fs/proc/
H A Dtask_mmu.c948 bool compound, bool young, bool dirty, bool locked, in smaps_account() argument
973 if (young || folio_test_young(folio) || folio_test_referenced(folio)) in smaps_account()
1056 bool present = false, young = false, dirty = false; in smaps_pte_entry() local
1061 young = pte_young(ptent); in smaps_pte_entry()
1092 smaps_account(mss, page, false, young, dirty, locked, present); in smaps_pte_entry()
/linux/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/Documentation/ABI/testing/
H A Dsysfs-fs-f2fs588 Description: When ATGC is on, it controls age threshold to bypass GCing young