From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by kanga.kvack.org (Postfix) with ESMTP id 7EB5B6B000C for ; Mon, 15 Oct 2018 10:15:33 -0400 (EDT) Received: by mail-io1-f72.google.com with SMTP id l4-v6so18885958iog.13 for ; Mon, 15 Oct 2018 07:15:33 -0700 (PDT) Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id e7-v6si6510618ioq.133.2018.10.15.07.15.32 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Oct 2018 07:15:32 -0700 (PDT) Date: Mon, 15 Oct 2018 16:14:58 +0200 From: Peter Zijlstra Subject: Re: [PATCH 12/18] arch/tlb: Clean up simple architectures Message-ID: <20181015141458.GQ9867@hirez.programming.kicks-ass.net> References: <20180926113623.863696043@infradead.org> <20180926114801.146189550@infradead.org> <20181011150406.GL9848@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Vineet Gupta Cc: "will.deacon@arm.com" , "aneesh.kumar@linux.vnet.ibm.com" , "akpm@linux-foundation.org" , "npiggin@gmail.com" , "linux-arch@vger.kernel.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "linux@armlinux.org.uk" , "heiko.carstens@de.ibm.com" , "riel@surriel.com" , Richard Henderson , Mark Salter , Richard Kuo , Michal Simek , Paul Burton , Greentime Hu , Ley Foon Tan , Jonas Bonn , Helge Deller , "David S. Miller" , Guan Xuetao , Max Filippov , arcml 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.