Re: [PATCH 01/16] powerpc/mm: Add DEBUG_VM WARN for pmd_clear

2020-08-12 Thread Aneesh Kumar K.V
On 8/12/20 1:16 PM, Anshuman Khandual wrote: On 08/12/2020 12:03 PM, Aneesh Kumar K.V wrote: With the hash page table, the kernel should not use pmd_clear for clearing huge pte entries. Add a DEBUG_VM WARN to catch the wrong usage. Signed-off-by: Aneesh Kumar K.V This particular change is

Re: [PATCH 01/16] powerpc/mm: Add DEBUG_VM WARN for pmd_clear

2020-08-12 Thread Anshuman Khandual
On 08/12/2020 12:03 PM, Aneesh Kumar K.V wrote: > With the hash page table, the kernel should not use pmd_clear for clearing > huge pte entries. Add a DEBUG_VM WARN to catch the wrong usage. > > Signed-off-by: Aneesh Kumar K.V This particular change is very much powerpc specific. Hence please

[PATCH 01/16] powerpc/mm: Add DEBUG_VM WARN for pmd_clear

2020-08-12 Thread Aneesh Kumar K.V
With the hash page table, the kernel should not use pmd_clear for clearing huge pte entries. Add a DEBUG_VM WARN to catch the wrong usage. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/book3s/64/pgtable.h | 14 ++ 1 file changed, 14 insertions(+) diff --git