Searched refs:mm_rss (Results 1 – 3 of 3) sorted by relevance
283 unsigned long address, mm_rss; in do_sparc64_fault() local475 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()
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()
58 unsigned long mm_rss);