Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sparc/mm/
Dfault_64.c283 unsigned long address, mm_rss; in do_sparc64_fault() local
475 mm_rss = get_mm_rss(mm); in do_sparc64_fault()
477 mm_rss -= (mm->context.thp_pte_count * (HPAGE_SIZE / PAGE_SIZE)); in do_sparc64_fault()
479 if (unlikely(mm_rss > in do_sparc64_fault()
481 tsb_grow(mm, MM_TSB_BASE, mm_rss); in do_sparc64_fault()
483 mm_rss = mm->context.hugetlb_pte_count + mm->context.thp_pte_count; in do_sparc64_fault()
484 mm_rss *= REAL_HPAGE_PER_HPAGE; in do_sparc64_fault()
485 if (unlikely(mm_rss > in do_sparc64_fault()
488 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-v4.19/arch/sparc/include/asm/
Dmmu_context_64.h58 unsigned long mm_rss);