On 10/14/19 6:08 AM, Anshuman Khandual wrote: > On 10/14/2019 06:30 PM, Michal Hocko wrote: >> >> OK, thanks for the clarification. This all means that this patch is not >> the right approach. If you need a more generic alloc_contig_range then >> add it to page_alloc.c and make it completely independent on the hugetlb >> config and the code. Hugetlb allocator can reuse that helper. Should we revisit this previous attempt at such an interface? https://lkml.org/lkml/2018/4/16/1072 This looks like another use case. -- Mike Kravetz