Re: [PATCH 2/2] powerpc/mm: check for irq disabled() only if DEBUG_VM is enabled.

2016-06-07 Thread Balbir Singh
On 31/05/16 21:04, Aneesh Kumar K.V wrote: > We don't need to check this always. The idea here is to capture the > wrong usage of find_linux_pte_or_hugepte and we can do that by > occasionally running with DEBUG_VM enabled. > > Signed-off-by: Aneesh Kumar K.V > --- > arch/powerpc/include/asm/p

Re: [PATCH 2/2] powerpc/mm: check for irq disabled() only if DEBUG_VM is enabled.

2016-06-06 Thread Anshuman Khandual
On 05/31/2016 04:34 PM, Aneesh Kumar K.V wrote: > We don't need to check this always. The idea here is to capture the > wrong usage of find_linux_pte_or_hugepte and we can do that by > occasionally running with DEBUG_VM enabled. > > Signed-off-by: Aneesh Kumar K.V Reviewed-by: Anshuman Khandual

[PATCH 2/2] powerpc/mm: check for irq disabled() only if DEBUG_VM is enabled.

2016-05-31 Thread Aneesh Kumar K.V
We don't need to check this always. The idea here is to capture the wrong usage of find_linux_pte_or_hugepte and we can do that by occasionally running with DEBUG_VM enabled. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/pgtable.h | 6 ++ 1 file changed, 2 insertions(+), 4 del