Searched refs:mm_rss (Results 1 – 3 of 3) sorted by relevance
269 unsigned long address, mm_rss; in do_sparc64_fault() local461 mm_rss = get_mm_rss(mm); in do_sparc64_fault()463 mm_rss -= (mm->context.thp_pte_count * (HPAGE_SIZE / PAGE_SIZE)); in do_sparc64_fault()465 if (unlikely(mm_rss > in do_sparc64_fault()467 tsb_grow(mm, MM_TSB_BASE, mm_rss); in do_sparc64_fault()469 mm_rss = mm->context.hugetlb_pte_count + mm->context.thp_pte_count; in do_sparc64_fault()470 mm_rss *= REAL_HPAGE_PER_HPAGE; in do_sparc64_fault()471 if (unlikely(mm_rss > in do_sparc64_fault()474 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);