Re: [PATCH V5 2/3] powerpc/mm: Use generic version of pmdp_clear_flush

2015-05-21 Thread Aneesh Kumar K.V
Andrew Morton writes: > On Fri, 15 May 2015 21:12:29 +0530 "Aneesh Kumar K.V" > wrote: > >> Also move the pmd_trans_huge check to generic code. >> >> ... >> >> --- a/include/asm-generic/pgtable.h >> +++ b/include/asm-generic/pgtable.h >> @@ -196,7 +196,12 @@ static inline pmd_t pmdp_collapse_f

Re: [PATCH V5 2/3] powerpc/mm: Use generic version of pmdp_clear_flush

2015-05-20 Thread Andrew Morton
On Fri, 15 May 2015 21:12:29 +0530 "Aneesh Kumar K.V" wrote: > Also move the pmd_trans_huge check to generic code. > > ... > > --- a/include/asm-generic/pgtable.h > +++ b/include/asm-generic/pgtable.h > @@ -196,7 +196,12 @@ static inline pmd_t pmdp_collapse_flush(struct > vm_area_struct *vma,

[PATCH V5 2/3] powerpc/mm: Use generic version of pmdp_clear_flush

2015-05-15 Thread Aneesh Kumar K.V
Also move the pmd_trans_huge check to generic code. Acked-by: Kirill A. Shutemov Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/include/asm/pgtable-ppc64.h | 4 arch/powerpc/mm/pgtable_64.c | 11 --- arch/s390/include/asm/pgtable.h | 8 include/asm