Re: [PATCH v3 1/3] arm64: mm: use appropriate ctors for page tables

2019-03-11 Thread Yu Zhao
On Mon, Mar 11, 2019 at 01:15:55PM +0530, Anshuman Khandual wrote: > Hello Yu, > > We had some disagreements over this series last time around after which I had > posted the following series [1] which tried to enable > ARCH_ENABLE_SPLIT_PMD_PTLOCK > after doing some pgtable accounting changes.

Re: [PATCH v3 1/3] arm64: mm: use appropriate ctors for page tables

2019-03-11 Thread Anshuman Khandual
Hello Yu, We had some disagreements over this series last time around after which I had posted the following series [1] which tried to enable ARCH_ENABLE_SPLIT_PMD_PTLOCK after doing some pgtable accounting changes. After some thoughts and deliberations I figure that its better not to do

[PATCH v3 1/3] arm64: mm: use appropriate ctors for page tables

2019-03-09 Thread Yu Zhao
For pte page, use pgtable_page_ctor(); for pmd page, use pgtable_pmd_page_ctor(); and for the rest (pud, p4d and pgd), don't use any. For now, we don't select ARCH_ENABLE_SPLIT_PMD_PTLOCK and pgtable_pmd_page_ctor() is a nop. When we do in patch 3, we make sure pmd is not folded so we won't