Re: [RFC PATCH 3/4] mm/mmu_gather: Track page size with mmu gather and force flush if page size change

2016-05-30 Thread Hillf Danton
> diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h > index 2ac8fe202e9a..3ca36c111b47 100644 > --- a/include/asm-generic/tlb.h > +++ b/include/asm-generic/tlb.h > @@ -112,6 +112,7 @@ struct mmu_gather { >* that that we can adjust the range after the flush >*/ >

[RFC PATCH 3/4] mm/mmu_gather: Track page size with mmu gather and force flush if page size change

2016-05-29 Thread Aneesh Kumar K.V
This allows arch which need to do special handing with respect to different page size when flushing tlb to implement the same in mmu gather Signed-off-by: Aneesh Kumar K.V --- arch/arm/include/asm/tlb.h | 18 +++ arch/ia64/include/asm/tlb.h | 18 +++ arch/s390/include/as