Re: [PATCH v8 4/7] mm,hugetlb: Split prep_new_huge_page functionality

2021-04-15 Thread David Hildenbrand
On 15.04.21 12:35, Oscar Salvador wrote: Currently, prep_new_huge_page() performs two functions. It sets the right state for a new hugetlb, and increases the hstate's counters to account for the new page. Let us split its functionality into two separate functions, decoupling the handling of the

[PATCH v8 4/7] mm,hugetlb: Split prep_new_huge_page functionality

2021-04-15 Thread Oscar Salvador
Currently, prep_new_huge_page() performs two functions. It sets the right state for a new hugetlb, and increases the hstate's counters to account for the new page. Let us split its functionality into two separate functions, decoupling the handling of the counters from initializing a hugepage. The