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=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 0981FC5519F for ; Fri, 20 Nov 2020 15:10:07 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7999F22226 for ; Fri, 20 Nov 2020 15:10:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LTwNVT2J"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="i5O7Fp/E" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7999F22226 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bd2ZqUGQ4FA2QbgeFcOaHUZ6ek+88Z2oywCjHT4JZJQ=; b=LTwNVT2JFcEwit3S9MTFdVoUx h2YhuOpHaFrO0EIwtEGpWP3xIF3vEDkOZSA9uvuE9qd/EaRah+0pCYLKB6k/q0QW4wk83E/VYg3a6 WoFFqRQCTrG1pnQxctqqO6YG3gkVXaiSnEKLVSmVDznCP4hu+OpsRRVc+5T4FvB8UxeCi8mEua5Kd ON1JtHU8cXVcbYilrtvPEY6QJk9B8GD1QyC1JYERMASS+Q5TKZ3C8dHRN87WkGxHTjTuJIekjew6M FzQU3BEd2ScX3RWd0DZjLWHqwDLPcI5BNGhgK8C3kFRj4f3/urT0dsQ8A4aPXpVO7ZT55jphJqZoG E3ZWFBozQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kg82b-0001w2-4Q; Fri, 20 Nov 2020 15:09:37 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kg82Y-0001vI-OR for linux-arm-kernel@merlin.infradead.org; Fri, 20 Nov 2020 15:09:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=SvuJ0Yggw//XkE7jbGBD/osU1sxNXLlG/4aodz1frU0=; b=i5O7Fp/EzeqJzhjLWGIElPmQE/ lX22PPAxwrgL7qVXXRChT3Wzz6uMgwRJf1wrw6hPIPPwWgUGomuSA5LXlzWXyO0eD72K6Bu7LBWAH vWieSG3s+8IDY+sP+yM152D9xUq/6stV2+kOtdnlRHc31APiS21EGTKMzJ0t/Cy7GdVjKg3qncgUL uG3xzJtcxMCrg0ZanzTbKZaokfCguuXV0KOD55UzzhG0e/BwFkHF3XSAlNb0u4sMT9vOn1mofe17S LdjVM/3IpRTNx/Tcc9hCD69lAZa4dWrh1ynzGAfFW98MdufJvI9sL255Xf5NpiG0s2E8I3M0p13gA i42K6Q2w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kg82V-00018B-N2; Fri, 20 Nov 2020 15:09:32 +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 E133B300B22; Fri, 20 Nov 2020 16:09:30 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id CCE04201B4C48; Fri, 20 Nov 2020 16:09:30 +0100 (CET) Date: Fri, 20 Nov 2020 16:09:30 +0100 From: Peter Zijlstra To: Will Deacon Subject: Re: [PATCH 4/6] mm: proc: Invalidate TLB after clearing soft-dirty page state Message-ID: <20201120150930.GC3092@hirez.programming.kicks-ass.net> References: <20201120143557.6715-1-will@kernel.org> <20201120143557.6715-5-will@kernel.org> <20201120150023.GH3040@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201120150023.GH3040@hirez.programming.kicks-ass.net> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yu Zhao , Anshuman Khandual , Catalin Marinas , Linus Torvalds , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Minchan Kim , kernel-team@android.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Nov 20, 2020 at 04:00:23PM +0100, Peter Zijlstra wrote: > If you look at __tlb_remove_tlb_entry() ... you'll also find we can probably do this ... :-) diff --git a/arch/sparc/include/asm/tlb_64.h b/arch/sparc/include/asm/tlb_64.h index e841cae544c2..779a5a0f0608 100644 --- a/arch/sparc/include/asm/tlb_64.h +++ b/arch/sparc/include/asm/tlb_64.h @@ -24,7 +24,6 @@ void flush_tlb_pending(void); #define tlb_start_vma(tlb, vma) do { } while (0) #define tlb_end_vma(tlb, vma) do { } while (0) -#define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0) #define tlb_flush(tlb) flush_tlb_pending() /* diff --git a/arch/x86/include/asm/tlb.h b/arch/x86/include/asm/tlb.h index 820082bd6880..1bfe979bb9bc 100644 --- a/arch/x86/include/asm/tlb.h +++ b/arch/x86/include/asm/tlb.h @@ -4,7 +4,6 @@ #define tlb_start_vma(tlb, vma) do { } while (0) #define tlb_end_vma(tlb, vma) do { } while (0) -#define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0) #define tlb_flush tlb_flush static inline void tlb_flush(struct mmu_gather *tlb); _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel