Re: [RFC PATCH] arch, mm: introduce arch_tlb_gather_mmu_exit

2017-11-28 Thread Michal Hocko
On Tue 28-11-17 19:00:01, Will Deacon wrote: > On Thu, Nov 23, 2017 at 10:02:36AM +0100, Michal Hocko wrote: > > From: Michal Hocko > > > > 5a7862e83000 ("arm64: tlbflush: avoid flushing when fullmm == 1") has > > introduced an optimization to not flush tlb when we are tearing the > > whole addre

Re: [RFC PATCH] arch, mm: introduce arch_tlb_gather_mmu_exit

2017-11-28 Thread Will Deacon
On Thu, Nov 23, 2017 at 10:02:36AM +0100, Michal Hocko wrote: > From: Michal Hocko > > 5a7862e83000 ("arm64: tlbflush: avoid flushing when fullmm == 1") has > introduced an optimization to not flush tlb when we are tearing the > whole address space down. Will goes on to explain > > : Basically,

[RFC PATCH] arch, mm: introduce arch_tlb_gather_mmu_exit

2017-11-23 Thread Michal Hocko
From: Michal Hocko 5a7862e83000 ("arm64: tlbflush: avoid flushing when fullmm == 1") has introduced an optimization to not flush tlb when we are tearing the whole address space down. Will goes on to explain : Basically, we tag each address space with an ASID (PCID on x86) which : is resident in