Re: [RFC PATCH] powerpc/mm/mce: Keep irq disabled during lockless page table walk

2019-09-20 Thread Michael Ellerman
On Wed, 2019-09-18 at 14:53:28 UTC, "Aneesh Kumar K.V" wrote: > __find_linux_mm_pte return a page table entry pointer walking the > page table without holding locks. To make it safe against a THP > split and collapse, we disable interrupts around the lockless > page table walk. We need to keep the

[RFC PATCH] powerpc/mm/mce: Keep irq disabled during lockless page table walk

2019-09-18 Thread Aneesh Kumar K.V
__find_linux_mm_pte return a page table entry pointer walking the page table without holding locks. To make it safe against a THP split and collapse, we disable interrupts around the lockless page table walk. We need to keep the interrupts disabled as long as we use the page table entry pointer. C