diff options
author | Aneesh Kumar K.V <[email protected]> | 2019-09-18 20:23:28 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2019-09-19 21:24:59 +1000 |
commit | d9101bfa6adc831bda8836c4d774820553c14942 (patch) | |
tree | 6ecb08a936eaf1af85eae2027ea0446407e53e07 /arch/powerpc/kernel/stacktrace.c | |
parent | 7c1bb6bbf75d8ca5ec878627d3170effcaf54f27 (diff) |
powerpc/mm/mce: Keep irqs disabled during lockless page table walk
__find_linux_mm_pte() returns a page table entry pointer after walking
the page table without holding locks. To make it safe against a THP
split and/or collapse, we disable interrupts around the lockless page
table walk. However we need to keep interrupts disabled as long as we
use the page table entry pointer that is returned.
Fix addr_to_pfn() to do that.
Fixes: ba41e1e1ccb9 ("powerpc/mce: Hookup derror (load/store) UE errors")
Signed-off-by: Aneesh Kumar K.V <[email protected]>
[mpe: Rearrange code slightly and tweak change log wording]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions