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

Michael Ellerman patch-notifications at ellerman.id.au
Fri Sep 20 18:36:10 AEST 2019


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 interrupts disabled as long
> as we use the page table entry pointer.
> 
> Cc: Balbir Singh <bsingharora at gmail.com>
> Cc: Reza Arbab <arbab at linux.ibm.com>
> Cc: Santosh Sivaraj <santosh at fossix.org>
> Fixes: ba41e1e1ccb9 ("powerpc/mce: Hookup derror (load/store) UE errors")
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/d9101bfa6adc831bda8836c4d774820553c14942

cheers


More information about the Linuxppc-dev mailing list