From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C16BC433E0 for ; Tue, 2 Feb 2021 09:31:47 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8821E64EE4 for ; Tue, 2 Feb 2021 09:31:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8821E64EE4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id DA57D6B0005; Tue, 2 Feb 2021 04:31:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D55E86B006C; Tue, 2 Feb 2021 04:31:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C6C4C6B006E; Tue, 2 Feb 2021 04:31:45 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0089.hostedemail.com [216.40.44.89]) by kanga.kvack.org (Postfix) with ESMTP id B38336B0005 for ; Tue, 2 Feb 2021 04:31:45 -0500 (EST) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 75B71180AD81D for ; Tue, 2 Feb 2021 09:31:45 +0000 (UTC) X-FDA: 77772810570.01.peace16_44084ca275c9 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin01.hostedemail.com (Postfix) with ESMTP id 447E91004720B for ; Tue, 2 Feb 2021 09:31:45 +0000 (UTC) X-HE-Tag: peace16_44084ca275c9 X-Filterd-Recvd-Size: 3067 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by imf26.hostedemail.com (Postfix) with ESMTP for ; Tue, 2 Feb 2021 09:31:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=9KzakhvbdvrVuIhJCaujo2BiN5IuFWAm6tV0NCLB24Q=; b=WQI9v3Fm+YGJL5PLHXu17b3K22 RuE4J49J6OEbD5VOJtDDNX8J+nxknxSho7XSv0wKzrtz5CbKv4IUELjrmqWTGl24O9yh/iUa1MrJu sf5qftPGCUIFqrjbI3r5y1Pp1FxAQMZoJqSO8A0ZwFmIpx1/kgsopT5zDn7A55SSypQOR4CORQjar 9fa7lWvlOC8S1H0VISKCVuCxvEm9FmduwfoWJqql7E8FFP145R9+IbtnXq75beFHh7yAV6gWlrDkM 7GLyL0AZ1NJkL/xHJWf50KjJGZ5zw67ZToWpSTlsNsP72bxYZUAKWhci2Dy8smLhif9sweQykcOqR bqXrtItg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1l6s26-0001fV-Rv; Tue, 02 Feb 2021 09:31:39 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 3E8E83003D8; Tue, 2 Feb 2021 10:31:32 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 0BE1D299C9F56; Tue, 2 Feb 2021 10:31:32 +0100 (CET) Date: Tue, 2 Feb 2021 10:31:31 +0100 From: Peter Zijlstra To: Nadav Amit Cc: Nicholas Piggin , Andrea Arcangeli , Andrew Morton , Dave Hansen , "linux-csky@vger.kernel.org" , LKML , Linux-MM , linuxppc-dev , linux-s390 , Andy Lutomirski , Thomas Gleixner , Will Deacon , X86 ML , Yu Zhao Subject: Re: [RFC 11/20] mm/tlb: remove arch-specific tlb_start/end_vma() Message-ID: References: <20210131001132.3368247-1-namit@vmware.com> <20210131001132.3368247-12-namit@vmware.com> <1612247956.0a1r1yjmm3.astroid@bobo.none> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: On Tue, Feb 02, 2021 at 07:20:55AM +0000, Nadav Amit wrote: > Arm does not define tlb_end_vma, and consequently it flushes the TLB after > each VMA. I suspect it is not intentional. ARM is one of those that look at the VM_EXEC bit to explicitly flush ITLB IIRC, so it has to.