Re: [PATCH v4 15/20] powerpc/mm: Avoid useless lock with single page fragments

2018-09-25 Thread Christophe LEROY
Le 19/09/2018 à 04:56, Aneesh Kumar K.V a écrit : On 9/18/18 10:27 PM, Christophe Leroy wrote: There is no point in taking the page table lock as pte_frag is always NULL when we have only one fragment. Signed-off-by: Christophe Leroy ---   arch/powerpc/mm/pgtable-frag.c | 3 +++   1 file

Re: [PATCH v4 15/20] powerpc/mm: Avoid useless lock with single page fragments

2018-09-18 Thread Aneesh Kumar K.V
On 9/18/18 10:27 PM, Christophe Leroy wrote: There is no point in taking the page table lock as pte_frag is always NULL when we have only one fragment. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/pgtable-frag.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v4 15/20] powerpc/mm: Avoid useless lock with single page fragments

2018-09-18 Thread Christophe Leroy
There is no point in taking the page table lock as pte_frag is always NULL when we have only one fragment. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/pgtable-frag.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/powerpc/mm/pgtable-frag.c b/arch/powerpc/mm/pgtable-frag.c