Re: [PATCH 00/12] Avoid synchronous TLB invalidation for intermediate page-table entries on arm64

From: Nicholas Piggin
Date: Fri Aug 31 2018 - 06:32:47 EST


On Fri, 31 Aug 2018 12:10:14 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Fri, Aug 31, 2018 at 10:54:18AM +0100, Will Deacon wrote:
>
> > Proposal below (omitted Linus because that seems to be the pattern elsewhere
> > in the file and he's not going to shout at himself when things break :)
> > Anybody I've missed?
> >
> > Will
> >
> > --->8
> >
> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index a5b256b25905..7224b5618883 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -9681,6 +9681,15 @@ S: Maintained
> > F: arch/arm/boot/dts/mmp*
> > F: arch/arm/mach-mmp/
> >
> > +MMU GATHER AND TLB INVALIDATION
> > +M: Will Deacon <will.deacon@xxxxxxx>
> > +M: Nick Piggin <npiggin@xxxxxxxxx>

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 (he
wrote a lot of that code too AFAIK).

> > +M: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > +L: linux-arch@xxxxxxxxxxxxxxx

Maybe put linux-mm as well? Or should there just be one list?

> > +S: Maintained
> > +F: include/asm-generic/tlb.h
> > +F: arch/*/include/asm/tlb.h
> > +
> > MN88472 MEDIA DRIVER
> > M: Antti Palosaari <crope@xxxxxx>
> > L: linux-media@xxxxxxxxxxxxxxx
>
> If we're going to do that (and I'm not opposed); it might make sense to
> do something like the below and add:
>
> F: mm/mmu_gather.c

I think that is a good idea regardless. How do feel about calling it
tlb.c? Easier to type and autocompletes sooner.

>
> ---
> b/mm/mmu_gather.c | 250 ++++++++++++++++++++++++++++++++++++++++++++++
> include/asm-generic/tlb.h | 2
> mm/Makefile | 2
> mm/memory.c | 247 ---------------------------------------------