On 02/19/2019 04:43 AM, Yu Zhao wrote: > For pte page, use pgtable_page_ctor(); for pmd page, use > pgtable_pmd_page_ctor() if not folded; and for the rest (pud, > p4d and pgd), don't use any. pgtable_page_ctor()/dtor() is not optional for any level page table page as it determines the struct page state and zone statistics. We should not skip it for any page table page. As stated before pgtable_pmd_page_ctor() is not a replacement for pgtable_page_ctor().
- [PATCH v2 1/3] arm64: mm: use appropriate ctors for page... Yu Zhao
- [PATCH v2 2/3] arm64: mm: don't call page table cto... Yu Zhao
- [PATCH v2 3/3] arm64: mm: enable per pmd page table... Yu Zhao
- Re: [PATCH v2 1/3] arm64: mm: use appropriate ctors... Anshuman Khandual
- Re: [PATCH v2 1/3] arm64: mm: use appropriate c... Yu Zhao
- Re: [PATCH v2 1/3] arm64: mm: use appropria... Anshuman Khandual
- Re: [PATCH v2 1/3] arm64: mm: use appro... Yu Zhao
- Re: [PATCH v2 1/3] arm64: mm: use ... Anshuman Khandual
- Re: [PATCH v2 1/3] arm64: mm: ... Matthew Wilcox
- Re: [PATCH v2 1/3] arm64: mm: ... Yu Zhao
- Re: [PATCH v2 1/3] arm64: ... Matthew Wilcox
- Re: [PATCH v2 1/3] arm64: mm: use appro... Matthew Wilcox
- Re: [PATCH v2 1/3] arm64: mm: use ... Anshuman Khandual
- Re: [PATCH v2 1/3] arm64: mm: use appropria... Matthew Wilcox