From: peterz@infradead.org (Peter Zijlstra) Date: Fri, 31 Aug 2018 13:20:29 +0200 Subject: [PATCH 00/12] Avoid synchronous TLB invalidation for intermediate page-table entries on arm64 In-Reply-To: <20180831111247.GB15258@arm.com> References: <1535645747-9823-1-git-send-email-will.deacon@arm.com> <20180831110054.475a3534@roar.ozlabs.ibm.com> <20180831095417.GF13166@arm.com> <20180831101014.GG24124@hirez.programming.kicks-ass.net> <20180831203234.7b8f4d13@roar.ozlabs.ibm.com> <20180831104945.GI24124@hirez.programming.kicks-ass.net> <20180831111247.GB15258@arm.com> Message-ID: <20180831112029.GK24124@hirez.programming.kicks-ass.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Aug 31, 2018 at 12:12:48PM +0100, Will Deacon wrote: > On Fri, Aug 31, 2018 at 12:49:45PM +0200, Peter Zijlstra wrote: > > On Fri, Aug 31, 2018 at 08:32:34PM +1000, Nicholas Piggin wrote: > > > Oh gee, I suppose. powerpc hash is kind of interesting because it's > > > crazy, Aneesh knows that code a lot better than I do. radix modulo > > > some minor details of exact instructions is fairly like x86 > > > > The whole TLB broadcast vs explicit IPIs is a fairly big difference in > > my book. > > > > Anyway, have you guys tried the explicit IPI approach? Depending on how > > IPIs are routed vs broadcasts it might save a little bus traffic. No > > point in getting all CPUs to process the TLBI when there's only a hand > > full that really need it. > > > > OTOH, I suppose the broadcast thing has been optimized to death on the > > hardware side, so who knows.. > > You also can't IPI an IOMMU or a GPU ;) Oh, right you are. I suppose that is why x86-iommu is using those mmu_notifiers.