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=-12.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 1E46CC07E98 for ; Mon, 5 Jul 2021 07:11:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 06EC2613E2 for ; Mon, 5 Jul 2021 07:11:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbhGEHNh (ORCPT ); Mon, 5 Jul 2021 03:13:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:57810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbhGEHNh (ORCPT ); Mon, 5 Jul 2021 03:13:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B2360613D1; Mon, 5 Jul 2021 07:11:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1625469061; bh=ei37cCDPc6xB6eMyJOMcovhGPOcElJkJH8t3jM6r/OI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=zTxoaauINXlMWzMwCzEOaR7njE99KPBMIqIEfuqkWcHuVNsrpxu8Yat1KLA7serqG 3UPJdug/esIBhA0YUdaYqSuBJEBXShVw+OCdefmhPLB5zWLGfq1UAJtdqNR4nAhXqQ GceEp4EOmPH337pvaP9uDihMlyBLluZK+8CZtE7Y= Date: Mon, 5 Jul 2021 09:10:58 +0200 From: Greg KH To: Petr Mladek Cc: stable@vger.kernel.org, akpm@linux-foundation.org, jenhaochen@google.com, liumartin@google.com, minchan@google.com, nathan@kernel.org, ndesaulniers@google.com, oleg@redhat.com, tj@kernel.org, torvalds@linux-foundation.org Subject: Re: [PATCH 0/2] kthread_worker: Fix race between kthread_mod_delayed_work() Message-ID: References: <162480383515619@kroah.com> <20210630110149.25086-1-pmladek@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, Jun 30, 2021 at 01:31:45PM +0200, Petr Mladek wrote: > On Wed 2021-06-30 13:06:39, Greg KH wrote: > > On Wed, Jun 30, 2021 at 01:01:47PM +0200, Petr Mladek wrote: > > > This is backport of the series for the following stable trees: > > > > > > + 4.9 > > > + 4.14 > > > + 4.19 > > > > > > The orignal series did not apply because of a conflict with the commit > > > ("kthread: Convert worker lock to raw spinlock"). > > > > > > Petr Mladek (2): > > > kthread_worker: split code for canceling the delayed work timer > > > kthread: prevent deadlock when kthread_mod_delayed_work() races with > > > kthread_cancel_delayed_work_sync() > > > > > > kernel/kthread.c | 77 ++++++++++++++++++++++++++++++++---------------- > > > 1 file changed, 51 insertions(+), 26 deletions(-) > > > > > > -- > > > 2.26.2 > > > > > > > What is the original git commit ids of these patches in Linus's tree? > > commit 34b3d5344719d14fd2185b2d9459b3abcb8cf9d8 ("kthread_worker: split code for canceling the delayed work timer") > commit 5fa54346caf67b4b1b10b1f390316ae466da4d53 ("kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync())" > > The original commits have already been taken for the newer stable trees. > > I am sorry for the inconvenience. What about backports for 5.4, 5.10, and 5.12? We can not take patches only for older kernels, otherwise people upgrading to newer ones would have a regression. Please can you submit these patches for those trees too? Until that, I can not take these. thanks, greg k-h