Message ID | 20180926114801.366086396@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 89CDA14BD for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 26 Sep 2018 11:55:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E02526B41 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 26 Sep 2018 11:55:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 718622A992; Wed, 26 Sep 2018 11:55:41 +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.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 6987226B41 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 26 Sep 2018 11:55:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 641808E0014; Wed, 26 Sep 2018 07:55:11 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 5A7F78E000F; Wed, 26 Sep 2018 07:55:11 -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 3FB3E8E0014; Wed, 26 Sep 2018 07:55:11 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-it1-f200.google.com (mail-it1-f200.google.com [209.85.166.200]) by kanga.kvack.org (Postfix) with ESMTP id 0EE7C8E000F for <linux-mm@kvack.org>; Wed, 26 Sep 2018 07:55:11 -0400 (EDT) Received: by mail-it1-f200.google.com with SMTP id k143-v6so2718419ite.5 for <linux-mm@kvack.org>; Wed, 26 Sep 2018 04:55:11 -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:references:mime-version; bh=KA2dSx29O1++y9jSzA5WFLAkZsmP8i/iX3gCcgZBjng=; b=LTJVJiZ1bn0wVgfAQz/IdCU1fEULRf24Av0yPQ19puG16w1FQTTDTw3nmkBAKs8JC3 K6f6o4Wb5wjONrOqBStx8se7bUsH3vKa6buWdMST/P2ADM201gHsmuLYb8cot5L1YCjc Zoss0VNFvubn4+raTG+qpdGrjpjNPFxMtcVNnB/BStbd0o6na69xSm1+kjishaoq2UAR q9k8lB6WNI7EyC5TcgZGk6DjdvjBD/9EPqwN5PCBmon+ERoQIxOq+W7KKiKeThBWD2FH RBjQgF70OLvepuFcPtcutEFGcnQiJKEUgvvDtqmqYIuTTCPjuArmP9YNfqWNBo0+mOtb jpPg== X-Gm-Message-State: ABuFfojTEV5OBV8b768o7qmX9JU1AkCIKcnU/grAmCniC965Ccc5JfLA +UfOGsFpZlNmuxGKo2edxzm4URi9PuJDsiXfb3BVVtSZyx0Il206XpWnt7cauNQDZYPZ8H/30LL XdlE3RnaURQAly97Aiosa0QG3CRecPyx7cLuAdtQV4+UfRf+7GfztKaPSOGWDbD8bNQ== X-Received: by 2002:a6b:f80e:: with SMTP id o14-v6mr4312344ioh.139.1537962910837; Wed, 26 Sep 2018 04:55:10 -0700 (PDT) X-Google-Smtp-Source: ACcGV60wcMXarVT1pKx0ggl/6VhWj2Vi3VkWIDDbjGDQv6tbuo44AtdW+ggtSJ7XAzNANRm0/18e X-Received: by 2002:a6b:f80e:: with SMTP id o14-v6mr4312323ioh.139.1537962910247; Wed, 26 Sep 2018 04:55:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537962910; cv=none; d=google.com; s=arc-20160816; b=u0/Jc19MbgrOetGT7IoYEggwczqxtAvSRHoIxcI1oNahHCaANoYSTH9eAG3t2AYyc7 AWXzyTIGkQEcxrH/wM+CpD0cB8d2dyA6ywBjwwxCFdKCa984QEYfFQfsYEQsTd6v2Rtl KKjOESobifav0KuuHscW8vTBwRfxIbNRGM9j8vXKDcqhExTFGy8RrlP/KyheKR4lENPn 51tqhCT6BuixHznXpsxb+iGzhRe6hkZKn8Rkv493s8LHJgaDKMhPMwm7iGi+bdVPW21X KlZziPEtHu2JxvNZbvR9HrJ48hmnphuD1VqEU53YUFHih20Sb6ab5wb3paDPpRRySIpQ Tycg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:subject:cc:to:from:date:user-agent :message-id:dkim-signature; bh=KA2dSx29O1++y9jSzA5WFLAkZsmP8i/iX3gCcgZBjng=; b=HuOitJOY0xmCpnSp9D97Owf4AlKsclMYVBUF3PYlL+7QOw0Hx5pqny1G75BO70gjIm NXLOs0PDvP6/f57PoWsLmHBIlR4eADIOlig2ovdRrw4VTRNzJzB01Uhz41oGB9pLUSiD U4bebyjIsYekSFAsk4EjxVrwQRd328k+fWYLw7GOrPWxzIsw/GUe2jMKEy2uPlRGYrkJ +xPLlyrA51e40jR1xBSb1hc3P/8POge6LKIvBZPAAWujZpkezY1AlJU66BQrkY5LQVgd P6HZJ4pY4K986VGqHhR8Ea5EWmAseARFxdae4Qzqiv5JnDBJGZ6RCUUlmgfi/R7IHi9a l6bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=jbD8plmc; spf=pass (google.com: best guess record for domain of peterz@infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom=peterz@infradead.org Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id r141-v6si3185153ita.13.2018.09.26.04.55.10 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 04:55:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of peterz@infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=merlin.20170209 header.b=jbD8plmc; spf=pass (google.com: best guess record for domain of peterz@infradead.org designates 2001:8b0:10b:1231::1 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=merlin.20170209; h=Content-Type:MIME-Version:References: Subject:Cc:To:From:Date:Message-ID:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KA2dSx29O1++y9jSzA5WFLAkZsmP8i/iX3gCcgZBjng=; b=jbD8plmcHGE46ObbvYYsmPpiTB UC0Kyw06PgzPDYzi0+oBF+bFhAzFpTr07l6g8FuYwDuOtuEgNzaK6Zwh/HGeBajYXkgFTYq+WwEH8 9aGMfmI+DpYw5Z5Hfdg9ykvhEn1fQNxKnU1YAQ0szSs/dHGT2MV1cKurOGHNVz9gjH18Lig2eSVI+ 3QWhc8Yj4eGPVTOkZdwQE6tJcMAQTG6icBLlij5y8+WnMiiKxp68tlYeWI+oRgbyPrmqk93fmNu2h kGh2U99J2CWuxvv4YBeAqNfQhZhEmHPsZ9Dhl/zqlRKqwKlz0/IZrbOClOeg4ZCzQZjpYr+z2yy+A AT26wr8Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1g58Oy-0007Uo-2N; Wed, 26 Sep 2018 11:55:04 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 0) id B9A40206F1834; Wed, 26 Sep 2018 13:54:04 +0200 (CEST) Message-ID: <20180926114801.366086396@infradead.org> User-Agent: quilt/0.65 Date: Wed, 26 Sep 2018 13:36:39 +0200 From: Peter Zijlstra <peterz@infradead.org> 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, riel@surriel.com Subject: [PATCH 16/18] asm-generic/tlb: Remove HAVE_GENERIC_MMU_GATHER References: <20180926113623.863696043@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
my generic mmu_gather patches
|
expand
|
--- a/include/asm-generic/tlb.h +++ b/include/asm-generic/tlb.h @@ -139,7 +139,6 @@ * page-tables natively. * */ -#define HAVE_GENERIC_MMU_GATHER #ifdef CONFIG_HAVE_RCU_TABLE_FREE /* --- a/mm/mmu_gather.c +++ b/mm/mmu_gather.c @@ -11,8 +11,6 @@ #include <asm/pgalloc.h> #include <asm/tlb.h> -#ifdef HAVE_GENERIC_MMU_GATHER - #ifndef CONFIG_HAVE_MMU_GATHER_NO_GATHER static bool tlb_next_batch(struct mmu_gather *tlb) @@ -109,8 +107,6 @@ void tlb_flush_mmu(struct mmu_gather *tl tlb_flush_mmu_free(tlb); } -#endif /* HAVE_GENERIC_MMU_GATHER */ - #ifdef CONFIG_HAVE_RCU_TABLE_FREE /*
Since all architectures are now using it, it is redundant. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> --- include/asm-generic/tlb.h | 1 - mm/mmu_gather.c | 4 ---- 2 files changed, 5 deletions(-)