Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5537922imm; Tue, 16 Oct 2018 11:49:03 -0700 (PDT) X-Google-Smtp-Source: ACcGV63aDUjuGL0A5/s/aNV375tAOFSoJyngfL5Jd5fG6VbuMr2A38luBOJaz3y0RfWnOJVfmSKV X-Received: by 2002:a17:902:e01:: with SMTP id 1-v6mr17875890plw.207.1539715743564; Tue, 16 Oct 2018 11:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539715743; cv=none; d=google.com; s=arc-20160816; b=YSCD1ThtEvL2R9OqBjEUu+rWNy9HHyERgWZJFlemeADpRW+HisukcBSKArogdAEyg2 E8pm7jR7hTeEmDPyS4uWSs+34hl5zWh1QedKXym7Tf0JBVSOE34cqyVIXeccJ2DsUjA9 cqyKzFnDm/3pCamC3RznTtW7FokImgHc6ZqioVLF9skiKK0As/aNbE+jdKsL37yedIWf xEkgNbKM8+6m8i670mYu55snePkW6dKS1/yKrDI5LbGe9imRErZiYl3XAKlF3f6Weiad RkOHMkeMoU7CarubeTyfTW9GESR8gqmmQ2MtYcdcooNeSePKwTBcU/cwJiYvQsRxrxOY Kr4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ARuNdrw4LF3tXeh34z8Oo7ZWKVz0S91fJDD3+IU4Mc0=; b=QvjWM3Lilzkr6gfnlfNJ45zbBwYp4e04KBLAJMehXpuIZ998DeU4mGTktB+7m8OyZx 5zaXiJ8y+2Yd7ArjKuWXCPxnClxlSGK+ObgfzEF77mEsh/Iki86tQqIipKWzyfrWEpa4 /Qk/8WOtvJgpm2v4MQrVANLSUV4AalkPykdjLS9Uye6YxZkSgNvdq3KRliNi8utVscp9 xOXbbcgHNWqGtFuqLoekMzCAOhz7j95NvE28+pgiPnIQROv6Sc0jDMOLMWNMuQIXOKSu QPpY3fJA2MIWgF0SxlcEr6DuhYuI/IqN0sKnf38Yyjq8By1B2+TOPIPdWmhYKcXIaFDt 1vsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cHx1STwv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t11-v6si14100401plq.280.2018.10.16.11.48.47; Tue, 16 Oct 2018 11:49:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cHx1STwv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727214AbeJQCiy (ORCPT + 99 others); Tue, 16 Oct 2018 22:38:54 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:45461 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727111AbeJQCiy (ORCPT ); Tue, 16 Oct 2018 22:38:54 -0400 Received: by mail-lf1-f68.google.com with SMTP id v22-v6so6000086lfe.12 for ; Tue, 16 Oct 2018 11:47:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ARuNdrw4LF3tXeh34z8Oo7ZWKVz0S91fJDD3+IU4Mc0=; b=cHx1STwv1/t2IAT16pzENaovP0h7c+LUA790D4ReGUVJxWkTQBSKgbp52R3Pmw2D6i rwvZZi5Vr8RekVXhJ5u07aydRZzjtiYW6BEDrdNFQ30u1Vz1dDGJnUfg+dDD/5CinJAg 2TNBlxojiKaPfmjgcKwA+EXyUv6OGRsCVUCH0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ARuNdrw4LF3tXeh34z8Oo7ZWKVz0S91fJDD3+IU4Mc0=; b=iR5+mwoTEaNy/LHKZWAH3i9YPORFErHjlPmWNw17Kb4ygyrZBqGzWOXIPNUW275vZP 91cDPZLGj6cv/zswLc4/qfV5tixzxn8X2lT+y+16QuZnDv5OOJ2CX/G/UF91Wps1Ps0C qwqUDfYwsRX8lznPCxoiRyis/Or61/S58Rxo/tsjsIcEP6xfH4XwV759Dsp/6yZQes39 x45xywtyhg0aGSvBtMKQYJxLND1/3vB2+dEPMXtSpV5Bc9nP1DCCLxIzYjN6TCUDZKgl xqi2imtn52Ae/Zqi5/m4jBm4CJY/rH4yRJ49GtZnz34GahkR+rjtuRxroJKDzuq2kzpJ YWvA== X-Gm-Message-State: ABuFfoiiV0BT6/d5zvfOkL2n+hp5BHGZ9URJr31b0nZ7YxCLpa7Wv4Ah ult5PIVKAqRLpUdL55oklxtaAW2hno7EggS/ky4lxw== X-Received: by 2002:a19:cf8d:: with SMTP id f135-v6mr6219804lfg.53.1539715625344; Tue, 16 Oct 2018 11:47:05 -0700 (PDT) MIME-Version: 1.0 References: <20181011152508.885515042@linuxfoundation.org> <20181011152510.156825448@linuxfoundation.org> <20181012110511.GB26625@kroah.com> In-Reply-To: <20181012110511.GB26625@kroah.com> From: Amit Pundir Date: Wed, 17 Oct 2018 00:16:28 +0530 Message-ID: Subject: Re: [PATCH 4.14 29/45] cgroup/cpuset: remove circular dependency deadlock To: Greg Kroah-Hartman Cc: Sudip Mukherjee , lkml , stable , Prateek Sood , Tejun Heo Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 12 Oct 2018 at 16:35, Greg Kroah-Hartman wrote: > > On Thu, Oct 11, 2018 at 08:33:34PM +0100, Sudip Mukherjee wrote: > > Hi Greg, > > > > On Thu, Oct 11, 2018 at 4:54 PM Greg Kroah-Hartman > > wrote: > > > > > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > > > ------------------ > > > > > > From: Prateek Sood > > > > > > commit aa24163b2ee5c92120e32e99b5a93143a0f4258e upstream. > > > > This has been already reverted in upstream. > > bdfbbda90aeb ("Revert "cgroup/cpuset: remove circular dependency deadlock"") > > > > Might be better to add e8b3f8db7aad ("workqueue/hotplug: simplify > > workqueue_offline_cpu()") instead which is mentioned in the revert > > commit. > > Good point. I'm dropping this patch for now. > > Amit, can you test the above patch instead and figure out why you wanted > to add a patch to the tree that ended up being reverted? :) Sorry I goofed up here. Thank you Sudip for catching this. I forgot to look up for the upstream followup fixes for the patches which I submitted lately and missed out on this Revert. msm-4.9 tree, which I'm currently looking at, didn't revert this particular patch either. It did cherry-pick e8b3f8db7aad ("workqueue/hotplug: simplify workqueue_offline_cpu()") as well though. About e8b3f8db7aad ("workqueue/hotplug: simplify workqueue_offline_cpu()"): -------------------------------------------- commit e8b3f8db7aad99fcc5234fc5b89984ff6620de3d Author: Lai Jiangshan Date: Fri Dec 1 22:20:36 2017 +0800 workqueue/hotplug: simplify workqueue_offline_cpu() Since the recent cpu/hotplug refactoring, workqueue_offline_cpu() is guaranteed to run on the local cpu which is going offline. This also fixes the following deadlock by removing work item scheduling and flushing from CPU hotplug path. http://lkml.kernel.org/r/1504764252-29091-1-git-send-email-prsood@codeaurora.org -------------------------------------------- This patch applies cleanly to 4.14.y and 4.9.y. But I'm confused if this particular patch alone is good enough for these stable kernels, since the commit message talks about some "recent cpu/hotplug refactoring" dependency(?). Regards, Amit Pundir > > thanks, > > greg k-h > > > > > -- > > Regards > > Sudip