Re: [PATCH] sparc64 mm: Fix base TSB sizing when hugetlb pages are used

2016-07-28 Thread David Miller
From: Mike Kravetz Date: Fri, 15 Jul 2016 13:08:42 -0700 > do_sparc64_fault() calculates both the base and huge page RSS sizes and > uses this information in calls to tsb_grow(). The calculation for base > page TSB size is not correct if the task uses hugetlb pages. hugetlb > pages are not acco

[PATCH] sparc64 mm: Fix base TSB sizing when hugetlb pages are used

2016-07-15 Thread Mike Kravetz
do_sparc64_fault() calculates both the base and huge page RSS sizes and uses this information in calls to tsb_grow(). The calculation for base page TSB size is not correct if the task uses hugetlb pages. hugetlb pages are not accounted for in RSS, therefore the call to get_mm_rss(mm) does not inc