Searched refs:mm_rss (Results 1 – 3 of 3) sorted by relevance
275 unsigned long address, mm_rss; in do_sparc64_fault() local466 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()
538 unsigned long mm_rss = get_mm_rss(mm); in init_new_context() local562 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()
57 unsigned long mm_rss);