From patchwork Thu Sep 13 09:21:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Zijlstra X-Patchwork-Id: 10599103 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 470FF14E0 for ; Thu, 13 Sep 2018 09:29:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 36F622A457 for ; Thu, 13 Sep 2018 09:29:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B11C2A48D; Thu, 13 Sep 2018 09:29:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB7B02A457 for ; Thu, 13 Sep 2018 09:29:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6E4CB8E000B; Thu, 13 Sep 2018 05:29:32 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 66E598E000C; Thu, 13 Sep 2018 05:29:32 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 473C08E000B; Thu, 13 Sep 2018 05:29:32 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by kanga.kvack.org (Postfix) with ESMTP id F22E38E000C for ; Thu, 13 Sep 2018 05:29:31 -0400 (EDT) Received: by mail-pf1-f199.google.com with SMTP id e15-v6so2650658pfi.5 for ; Thu, 13 Sep 2018 02:29:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:message-id:user-agent:date:from :to:cc:subject; bh=+uV1wEWkcB0IWNI3VJTg622FuZS3tK/L6GKtqSIyrWU=; b=QDU2ArU/KtbudLIbUgGxaXLA6xfjUCKex1vXg6C9X8bTHsVsQSXR9kIHEKyLPvyOeR u3YtfvVwxEnwlYhoXrFsPpMo4/RAx5eXLNHakJCuomJguONGytE5dMNZnyYEj58Pz2eO ClHSPiWW9Mf10SF6C8PtIFvUeqq7dLOLqVafa+F7s1ld2znB+wb8+T+DPWMpF5iE9Z49 M1QpdkTctPiP2EXGoTtAkTXjjBERMsu2eRkxeZBQ19aZtc6kMz8pM6tOGDbFP0o3sF18 +8ZLUidT3PC9Y2Rjz/psmKeGl7f5UMr1P/G9umPKE1m+1JLBeIxtf9XCzX2VlfNrIlYd d3QA== X-Gm-Message-State: APzg51DpredyGGJvvwE8lou4v33PmkZvFMCYDwggfnzE+RPfONv6heJc qt6F1WCnBRUvHPv8fMuvNtolDcLceyuFGAdIzdDDmzJzZt7uJYWjZ8pxZ29Fw6xx/tTPwrrpLb5 g+wrYyxtRfRpIc1XRdS7obzK2ySI8FtPPhbEKSRSbpjrsuAeHt55awnrCogrX6jotXg== X-Received: by 2002:a62:3184:: with SMTP id x126-v6mr6494413pfx.49.1536830971694; Thu, 13 Sep 2018 02:29:31 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYYUZ4+udTlHYiS/PX2tY7M2dhgBdgI5aGGaTZUKUAugJR9xncLeNEsxNKhVd7CK9bXtjwc X-Received: by 2002:a62:3184:: with SMTP id x126-v6mr6494129pfx.49.1536830966899; Thu, 13 Sep 2018 02:29:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536830966; cv=none; d=google.com; s=arc-20160816; b=BVU7RbOEZKX6Fc9LpkoyXp6thxJs4FjvtNtXAudeyF8mtOdeiK8uaoVuCdR6/3Negc ut+RwhINOJ7KtOD7Lj/hOus2bGWs8s6fyRW5yyVrkugSZS7k8fCy86bofL1X4yCIbnah 4kvG65NNhIp5V/Vv4eIO7oH8Q2JDhf7el4+cET4a1YPaFpslF/3CSz8SalzunMpVkjEL IpWEZfy4CDROiM8ca2gpwTyKmbTKA+ll/Jox9HPFCPKCZegs/OSArvZ6X4je3I4vzoNE ZV55dyBa05f8WisHtOv1r26eEaO78qmSNKM8vkbaK9/0qdh4Hx6MpuuHQPf1zLUAH72O oBAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:user-agent:message-id:dkim-signature; bh=+uV1wEWkcB0IWNI3VJTg622FuZS3tK/L6GKtqSIyrWU=; b=ZrX7BOCg4uezlbJDKrh0akP7JvCRPfwjWWDEg2a7XOuM9Hgnp18x+nzwNSOXiRmTGw kU+IIE8t6cIIyrTTO53iGD2kz2GugUWnZm35LH6OUC/BLeaFpshx4RaAHz8ngjoxuuby UGWgkvSvtivi5GAkpr19UNhroVDeoGmzOoY0DKkEhrBL0lIfLglqPZ94Z6KUqHfC2MjX 7gOtg2PJzYyq3QcsaW09IbM8tCCOsBfFWZRDQLar6nXuIc3f0d9b5jH/xIrDAnkNh2X0 zjdbCPdioPwcqutGasaxJUHx5uSFaxI4jHaUtHIkqQG4kZKS7Uu/3r7+YTdkj6QIspPl Kmfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20170209 header.b=gdPGgc7C; spf=pass (google.com: best guess record for domain of peterz@infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom=peterz@infradead.org Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id s68-v6si3921941pgc.16.2018.09.13.02.29.26 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Sep 2018 02:29:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of peterz@infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20170209 header.b=gdPGgc7C; spf=pass (google.com: best guess record for domain of peterz@infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom=peterz@infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Subject:Cc:To:From:Date:Message-ID: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+uV1wEWkcB0IWNI3VJTg622FuZS3tK/L6GKtqSIyrWU=; b=gdPGgc7CFQxv/iSIOCUxnv2G6 pwIV+4ob+Kt3LP4poKuSaFFSnuN/+is4nWkBi6xIAWOQ8FuZCK7oqLBSzUS2a9lem12SbRQm5xhzb Susv9EELiuHAN7AHKK8m0fe5FEICTUtX+iJ1/5iMUqtNNcKD8vmQoBv8y+1pHoGIgEWfXTpe07J6a XIsmZzeQ+1OazCDkmlNSe2licMyeO/fT1CyAOvEpTb9lTY6Mn5mJS4+/DSQJzfNfeof9INhPkRWWl IavAAjiDQ4QYL2dYK69RJLEbGIAee1tmLx6ZSwf7+1ILdE9he2mpaN1WPLrHR0GoExAyc7vomEEHr trPCvmshA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0Nw0-0000un-9V; Thu, 13 Sep 2018 09:29:12 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 0) id 37C6E20587E40; Thu, 13 Sep 2018 11:29:10 +0200 (CEST) Message-ID: <20180913092110.817204997@infradead.org> User-Agent: quilt/0.65 Date: Thu, 13 Sep 2018 11:21:10 +0200 From: Peter Zijlstra To: will.deacon@arm.com, aneesh.kumar@linux.vnet.ibm.com, akpm@linux-foundation.org, npiggin@gmail.com Cc: linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, peterz@infradead.org, linux@armlinux.org.uk, heiko.carstens@de.ibm.com Subject: [RFC][PATCH 00/11] my generic mmu_gather patches X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP Hi, Here are some further mmu_gather/tlb patches I have that go on top of Will's current tlb branch. I mostly wrote them 2 weeks ago and haven't been able to get back to them; but Will offered to have a wee look. Esp. the full arch conversions (ARM, SH, UM, IA64) were based on patches I did 7 years ago and haven't been tested other than with a compiler. The notable exception is s390, which after this series, is the only remaining architecture with a private mmu_gather implementation. I didn't get around to converting that. Anyway, have a look, hopefully there's a few good bits in :-)