Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp273396pxk; Thu, 24 Sep 2020 05:31:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjt0YmHEq1eGg1wnk5XxXh8o25FUeopZU2jVMEAQPaRuQpn0CnQxetbUQRNpRr9Q3HSN1/ X-Received: by 2002:a17:906:2b06:: with SMTP id a6mr758344ejg.209.1600950702215; Thu, 24 Sep 2020 05:31:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600950702; cv=none; d=google.com; s=arc-20160816; b=tCCjDI7nq3s8AG88pk1+KdDpyeSmvpzMJ09j5ZDAIIUa5WPdJXBkNPplRiFPcalTHM bbevbgQ6Jh1FdQD8WL6ppqBrR6WAICDeLCV+YiqyGpSWydfIuL4GB49TRB2nosraNEJS VywQBoEwqwPfB+SOsK/LOpE4rZfqWtlkARO+lGCL8SN3i2c9ZZMDcl/AgPfq/OxjzugG wz80a+ximwIOsDeaF0vBUnwoLBFfui+qfdjnBA6A1Gk+yzbfCZftHbAhfDN/XMYPsUSa +2qIYJWBixWQA33yu/Ktuxuos98O2D3G94iPV2ovVQdZEU1FkccAIm6+gCVCzPu86JfM h0Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=m73vgj61DMRsmWWxOFgiGgpLztcmVGWiZGhnNaxOmFY=; b=0ntIcMbDEbC9ppyj25DqwOLSv7gCT2kXPN9S5nijRkOlODUSTUmMV7Wd7xIUKxGiTt 5+lNRenHrdXcMl3BIg/V35XIgtzJEo1TeyKEBUu4LrQiY/r2Z7XJAr7pW9s70F0xKrEH WLtLz6wWzuiewxlffxmzoNromQU/LOyTJrJJqyNKV1RR5Cjeq1xVVMtyqBCPNfxOHuwI iWJrGDZfNWjedzsijGAoQnNvYJsb1sYgKAPNrbcIwatvdYocofjPe7dXr7XWpcaII4If X2rIDlfpNb6g+uEkZdAgPkc0Tnvyxp6vMuVKNR/kQ7MPd+gVuC67r2Ou90OQ7bpOwxEc 5u2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t20si1882806ejj.396.2020.09.24.05.31.18; Thu, 24 Sep 2020 05:31:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727768AbgIXM2P (ORCPT + 99 others); Thu, 24 Sep 2020 08:28:15 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:51479 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727494AbgIXM2O (ORCPT ); Thu, 24 Sep 2020 08:28:14 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 4BxvTR2YxTz9sV1; Thu, 24 Sep 2020 22:28:10 +1000 (AEST) From: Michael Ellerman To: Nicholas Piggin , "linux-mm @ kvack . org" Cc: "Aneesh Kumar K . V" , linux-kernel@vger.kernel.org, Andrew Morton , Peter Zijlstra , "David S . Miller" , sparclinux@vger.kernel.org, Jens Axboe , linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: <20200914045219.3736466-1-npiggin@gmail.com> References: <20200914045219.3736466-1-npiggin@gmail.com> Subject: Re: [PATCH v2 0/4] more mm switching vs TLB shootdown and lazy tlb fixes Message-Id: <160094999385.26280.16775247303184322384.b4-ty@ellerman.id.au> Date: Thu, 24 Sep 2020 22:28:10 +1000 (AEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Sep 2020 14:52:15 +1000, Nicholas Piggin wrote: > This is an attempt to fix a few different related issues around > switching mm, TLB flushing, and lazy tlb mm handling. > > This will require all architectures to eventually move to disabling > irqs over activate_mm, but it's possible we could add another arch > call after irqs are re-enabled for those few which can't do their > entire activation with irqs disabled. > > [...] Applied to powerpc/next. [1/4] mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race https://git.kernel.org/powerpc/c/d53c3dfb23c45f7d4f910c3a3ca84bf0a99c6143 [2/4] powerpc: select ARCH_WANT_IRQS_OFF_ACTIVATE_MM https://git.kernel.org/powerpc/c/66acd46080bd9e5ad2be4b0eb1d498d5145d058e [3/4] sparc64: remove mm_cpumask clearing to fix kthread_use_mm race https://git.kernel.org/powerpc/c/bafb056ce27940c9994ea905336aa8f27b4f7275 [4/4] powerpc/64s/radix: Fix mm_cpumask trimming race vs kthread_use_mm https://git.kernel.org/powerpc/c/a665eec0a22e11cdde708c1c256a465ebe768047 cheers