Re: [External] Re: [PATCH v6 07/16] x86/mm/64: Disable PMD page mapping of vmemmap

2020-11-24 Thread Muchun Song
On Tue, Nov 24, 2020 at 6:24 PM Oscar Salvador wrote: > > On Tue, Nov 24, 2020 at 05:52:50PM +0800, Muchun Song wrote: > > If we enable the CONFIG_HUGETLB_PAGE_FREE_VMEMMAP, we can just > > disbale PMD page mapping of vmemmap to simplify the code. In this > > case, we do not need complex code doin

RE: [PATCH v6 07/16] x86/mm/64: Disable PMD page mapping of vmemmap

2020-11-24 Thread Song Bao Hua (Barry Song)
> linux-fsde...@vger.kernel.org > Subject: Re: [PATCH v6 07/16] x86/mm/64: Disable PMD page mapping of > vmemmap > > On Tue, Nov 24, 2020 at 05:52:50PM +0800, Muchun Song wrote: > > If we enable the CONFIG_HUGETLB_PAGE_FREE_VMEMMAP, we can just > > disbale PMD page mapping o

Re: [PATCH v6 07/16] x86/mm/64: Disable PMD page mapping of vmemmap

2020-11-24 Thread Oscar Salvador
On Tue, Nov 24, 2020 at 05:52:50PM +0800, Muchun Song wrote: > If we enable the CONFIG_HUGETLB_PAGE_FREE_VMEMMAP, we can just > disbale PMD page mapping of vmemmap to simplify the code. In this > case, we do not need complex code doing vmemmap page table > manipulation. This is a way to simply the

[PATCH v6 07/16] x86/mm/64: Disable PMD page mapping of vmemmap

2020-11-24 Thread Muchun Song
If we enable the CONFIG_HUGETLB_PAGE_FREE_VMEMMAP, we can just disbale PMD page mapping of vmemmap to simplify the code. In this case, we do not need complex code doing vmemmap page table manipulation. This is a way to simply the first version of this patch series. In the future, we can add some co