Re: [PATCH 3/3] powerpc: Avoid load hit store when using find_linux_pte_or_hugepte()

2016-05-30 Thread Aneesh Kumar K.V
Michael Ellerman writes: > On Tue, 2016-05-31 at 08:59 +0530, Aneesh Kumar K.V wrote: >> Michael Ellerman writes: >> > On Sun, 2016-05-29 at 22:03 +1000, Anton Blanchard wrote: >> > > From: Anton Blanchard >> > > >> > > In many cases we disable interrupts right before calling >> > > find_linux

Re: [PATCH 3/3] powerpc: Avoid load hit store when using find_linux_pte_or_hugepte()

2016-05-30 Thread Michael Ellerman
On Tue, 2016-05-31 at 08:59 +0530, Aneesh Kumar K.V wrote: > Michael Ellerman writes: > > On Sun, 2016-05-29 at 22:03 +1000, Anton Blanchard wrote: > > > From: Anton Blanchard > > > > > > In many cases we disable interrupts right before calling > > > find_linux_pte_or_hugepte(). > > > > > > fin

Re: [PATCH 3/3] powerpc: Avoid load hit store when using find_linux_pte_or_hugepte()

2016-05-30 Thread Aneesh Kumar K.V
Michael Ellerman writes: > On Sun, 2016-05-29 at 22:03 +1000, Anton Blanchard wrote: > >> From: Anton Blanchard >> >> In many cases we disable interrupts right before calling >> find_linux_pte_or_hugepte(). >> >> find_linux_pte_or_hugepte() first checks interrupts are disabled >> before callin

Re: [PATCH 3/3] powerpc: Avoid load hit store when using find_linux_pte_or_hugepte()

2016-05-30 Thread Michael Ellerman
On Sun, 2016-05-29 at 22:03 +1000, Anton Blanchard wrote: > From: Anton Blanchard > > In many cases we disable interrupts right before calling > find_linux_pte_or_hugepte(). > > find_linux_pte_or_hugepte() first checks interrupts are disabled > before calling __find_linux_pte_or_hugepte(): > >

Re: [PATCH 3/3] powerpc: Avoid load hit store when using find_linux_pte_or_hugepte()

2016-05-29 Thread Aneesh Kumar K.V
Anton Blanchard writes: > From: Anton Blanchard > > In many cases we disable interrupts right before calling > find_linux_pte_or_hugepte(). > > find_linux_pte_or_hugepte() first checks interrupts are disabled > before calling __find_linux_pte_or_hugepte(): > > if (!arch_irqs_disabled())

[PATCH 3/3] powerpc: Avoid load hit store when using find_linux_pte_or_hugepte()

2016-05-29 Thread Anton Blanchard
From: Anton Blanchard In many cases we disable interrupts right before calling find_linux_pte_or_hugepte(). find_linux_pte_or_hugepte() first checks interrupts are disabled before calling __find_linux_pte_or_hugepte(): if (!arch_irqs_disabled()) { pr_info("%s called with