[PATCH 1/2] powerpc/mm: Check paca psize is up to date for huge mappings

2014-05-28 Thread Michael Ellerman
We have a bug in our hugepage handling which exhibits as an infinite loop of hash faults. If the fault is being taken in the kernel it will typically trigger the softlockup detector, or the RCU stall detector. The bug is as follows: 1. mmap(0xa000, ..., MAP_FIXED | MAP_HUGE_TLB |

Re: [PATCH 1/2] powerpc/mm: Check paca psize is up to date for huge mappings

2014-05-28 Thread Aneesh Kumar K.V
Michael Ellerman m...@ellerman.id.au writes: We have a bug in our hugepage handling which exhibits as an infinite loop of hash faults. If the fault is being taken in the kernel it will typically trigger the softlockup detector, or the RCU stall detector. The bug is as follows: 1.