Re: [PATCH] mm: hugetlb: yield when prepping struct pages

From: Michal Hocko
Date: Fri Jun 29 2018 - 03:31:57 EST


On Thu 28-06-18 15:16:46, Cannon Matthews wrote:
> Thanks for the quick turnaround.
>
> Good to know about the how the 2M code path differs, I have been
> trying to trace through some of this and it's easy to get lost between
> which applies to which size.

Yeah, GB hugetlb pages implementation has been hacked into the existing
hugetlb code in a quite ugly way. We have done some cleanups since then
but there is still a lot of room for improvements.
--
Michal Hocko
SUSE Labs