Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1205700ybk; Thu, 21 May 2020 01:02:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKwNnKa2KyH9Kufwi0ObWrJjjqMAvG/meWSroSq34BFlJPUmZW4NovX74w0jmjqUnHBP4Y X-Received: by 2002:a2e:7d17:: with SMTP id y23mr4421894ljc.105.1590048137359; Thu, 21 May 2020 01:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590048137; cv=none; d=google.com; s=arc-20160816; b=n4AZyfemnzcEt95sZur67DJUkrqZ02OXfYGflH3yvqKceYl9mRZkp1Delm8Uo2jKGz CjutEz5bQznnF1HNH0FE1Ob+FPcjpDpEPLUhhcbzqAJxf1u5rBVwlEDlLzUFI90yUUhP VdO/HCmDxL/OJoTrn+7CvaNvilzhhizdhVGK3Op4oHniwU8MxIZ7ELvprXrQ2RV0z2Jn p0y8SMDlhRQo17Szek7sdeIbss75cRMU7Cqz7CjFK5KVpDX1/YJoScmfteFTENecXmxl M0spCYhPQpLfIMmZKe3fKZE5UTVQONiu8rDAYP+JxL9l06qXzsIm3rcZvflJ4WD6gJK6 WXfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Eu812uhZHLtx7MKN7w0h3mKFOFM7hrkmIp0etY2rnNU=; b=a2hTV4k9QqntPIVZBpCaAyYKwkNUEV+WorL/eROYWEZOHSK1W8Icjnp6iJFx37i0q9 9WtyB+oHYpMI0y4LsPE65ID5gvSuNIQHTJER4ul7FzPdkPNS8Jc83Vi2lVdjWZlBaIgo Qi10aNfAHlZz5EOM8A91gJfpU8F1IbV6zFsk1DpeviMJppH3JTymbVi3Sm11HP8hlYpD ue3/Qs4xLBentafR8ejZeHb6gaZryUncZeMQ4ZUghm+dDwFUayUb15N9sQcugzNZm087 XEXFDaA3Npq8fz9TpJmiTA14HNTozNl9Y5ggfeeRGMMrhrw11NUmVp5YeZy1Yre3OeQq teNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HKUKP9Ez; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 bs4si2952901ejb.275.2020.05.21.01.01.32; Thu, 21 May 2020 01:02:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HKUKP9Ez; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727867AbgEUIAv (ORCPT + 99 others); Thu, 21 May 2020 04:00:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:58908 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727011AbgEUIAv (ORCPT ); Thu, 21 May 2020 04:00:51 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0EB7C206B6; Thu, 21 May 2020 08:00:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590048049; bh=b4rXZiDYnO4XTY4a5ERzT5K5Vs+qpN0qRLWP/YLMO4c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HKUKP9EzKjlAcP38oBYvTFrSs0DZiKhjOA4eX6FAkKa4IgdxHWSCIONa+LouUO00c DRE6G5tfo3bbDix2nCMGDDb0DRvaIxRPmO3YMoe/k3EWW1VLRgpiF89SOn6QJR5Z2j sw92LBhJj6RkVa/Ku4aI3ArzwvgRmYZz5vzjvl7o= Date: Thu, 21 May 2020 10:00:46 +0200 From: Greg Kroah-Hartman To: Ben Hutchings Cc: Daniel Jordan , Sasha Levin , Herbert Xu , Steffen Klassert , linux-crypto@vger.kernel.org, stable Subject: Re: Backporting "padata: Remove broken queue flushing" Message-ID: <20200521080046.GA2615557@kroah.com> References: <0b158b60fe621552c327e9d822bc3245591a4bd6.camel@decadent.org.uk> <20200519200018.5vuyuxmjy5ypgi3w@ca-dmjordan1.us.oracle.com> <87267d7217e4a3d58440079c16d313e411eab004.camel@decadent.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87267d7217e4a3d58440079c16d313e411eab004.camel@decadent.org.uk> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, May 20, 2020 at 03:33:44PM +0100, Ben Hutchings wrote: > On Tue, 2020-05-19 at 16:00 -0400, Daniel Jordan wrote: > > Hello Ben, > > > > On Tue, May 19, 2020 at 02:53:05PM +0100, Ben Hutchings wrote: > > > I noticed that commit 07928d9bfc81 "padata: Remove broken queue > > > flushing" has been backported to most stable branches, but commit > > > 6fc4dbcf0276 "padata: Replace delayed timer with immediate workqueue in > > > padata_reorder" has not. > > > > > > Is this correct? What prevents the parallel_data ref-count from > > > dropping to 0 while the timer is scheduled? > > > > Doesn't seem like anything does, looking at 4.19. > > OK, so it looks like the following commits should be backported: > > [3.16-4.9] 119a0798dc42 padata: Remove unused but set variables > [3.16] de5540d088fe padata: avoid race in reordering > [3.16-4.9] 69b348449bda padata: get_next is never NULL > [3.16-4.14] cf5868c8a22d padata: ensure the reorder timer callback runs on the correct CPU > [3.16-4.14] 350ef88e7e92 padata: ensure padata_do_serial() runs on the correct CPU These all applied cleanly to the needed trees, but these: > [3.16-4.19] 6fc4dbcf0276 padata: Replace delayed timer with immediate workqueue in padata_reorder > [3.16-4.19] ec9c7d19336e padata: initialize pd->cpu with effective cpumask > [3.16-4.19] 065cf577135a padata: purge get_cpu and reorder_via_wq from padata_do_serial Need some non-trivial backporting. Can you, or someone else do it so I can queue them up? I don't have the free time at the moment, sorry. thanks, greg k-h