Home
last modified time | relevance | path

Searched refs:mm_rss (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/arch/sparc/mm/
Dfault_64.c275 unsigned long address, mm_rss; in do_sparc64_fault() local
466 mm_rss = get_mm_rss(mm); in do_sparc64_fault()
468 mm_rss -= (mm->context.thp_pte_count * (HPAGE_SIZE / PAGE_SIZE)); in do_sparc64_fault()
470 if (unlikely(mm_rss > in do_sparc64_fault()
472 tsb_grow(mm, MM_TSB_BASE, mm_rss); in do_sparc64_fault()
474 mm_rss = mm->context.hugetlb_pte_count + mm->context.thp_pte_count; in do_sparc64_fault()
475 mm_rss *= REAL_HPAGE_PER_HPAGE; in do_sparc64_fault()
476 if (unlikely(mm_rss > in do_sparc64_fault()
479 tsb_grow(mm, MM_TSB_HUGE, mm_rss); in do_sparc64_fault()
Dtsb.c538 unsigned long mm_rss = get_mm_rss(mm); in init_new_context() local
562 mm_rss -= saved_thp_pte_count * (HPAGE_SIZE / PAGE_SIZE); in init_new_context()
575 tsb_grow(mm, MM_TSB_BASE, mm_rss); in init_new_context()
/Linux-v6.6/arch/sparc/include/asm/
Dmmu_context_64.h57 unsigned long mm_rss);