Re: [PATCH V3] mm/page_alloc: Add alloc_contig_pages()
From: John Hubbard
Date: Fri Oct 18 2019 - 01:03:38 EST
On 10/17/19 8:28 PM, Anshuman Khandual wrote:
> On 10/18/2019 02:44 AM, John Hubbard wrote:
>> On 10/17/19 1:24 AM, Anshuman Khandual wrote:
...
> Yeah, it is bit non-trivial because v5 of the pgtable tests are still
> on the latest linux-next (20191015 or 20191017). You will need to
> revert the following patches.
>
> 1. mm/hugetlb: make alloc_gigantic_page() available for general use
> 2. mm/debug: add tests validating architecture page table helpers
> 3. mm-debug-add-tests-validating-architecture-page-table-helpers-fix
>
> and apply the following patch (https://patchwork.kernel.org/patch/11190213/)
>
> 1. hugetlbfs: don't access uninitialized memmaps in pfn_range_valid_gigantic()
>
> After which this particular patch here will apply cleanly. Hope this helps.
>
Yes, that helps, I wouldn't have worked that out on my own. :)
I'm not sure if I'll have anything to add, but I do want to take a peek,
so I can try to keep up with how huge pages are evolving.
thanks,
John Hubbard
NVIDIA