Re: [PATCH 12/18] arch/tlb: Clean up simple architectures
From: Peter Zijlstra
Date: Mon Oct 15 2018 - 10:16:14 EST
On Fri, Oct 12, 2018 at 07:40:04PM +0000, Vineet Gupta wrote:
> Very nice. Thx for doing this.
>
> Once you have redone this, please point me to a branch so I can give this a spin.
> I've always been interested in tracking down / optimizing the full TLB flushes -
> which ARC implements by simply moving the MMU/process to a new ASID (TLB entries
> tagged with an 8 bit value - unique per process). When I started looking into this
> , a simple ls (fork+execve) would increment the ASID by 13 which I'd optimized to
> a reasonable 4. Haven't checked that in recent times though so would be fun to
> revive that measurement.
I just pushed out the latest version to:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git mm/tlb
(mandatory caution: that tree is unstable / throw-away)
I'll wait a few days to see what, if anything, comes back from 0day
before posting again.