Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2716878rwb; Fri, 20 Jan 2023 06:35:53 -0800 (PST) X-Google-Smtp-Source: AMrXdXvHulYfuTzERKyJld+nGEqPIxyRLZtumVtJi0W5tUOD8ab2akXU/1yJeILD0HdbV7qWvLvN X-Received: by 2002:a17:90a:f483:b0:229:74a2:a692 with SMTP id bx3-20020a17090af48300b0022974a2a692mr15705285pjb.28.1674225353439; Fri, 20 Jan 2023 06:35:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674225353; cv=none; d=google.com; s=arc-20160816; b=smOgS2WWut8MJ91Hl7uv8xC59AQVYTMDBUD559NzPhAdObFinyXFwvJTI6zAyqGUvx 3GbPzkCCukR6v5va8JSSoOfai/HFY1ERf4nMjkYG999RC/KyZHnZLF9XP6xyaocsYPM8 AyVnCni5fPEhcbPb+fjKckTwcQbzM8xNVG9lR0I75UFGGoAOI9QXMn09LJPrUfCpFe0R j+UgWp9qyW3H5te3Gm2roUxK0TosCW4aHXJicWyKsWImWNSt/oIIiC3cQEbLL4WHW+qN tKvFl9mv91y/K64atkTOx4oze4ixglQMoCEqcY8ZFVxy/do8UlScuHh38V0AtcR4alyV dn/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:in-reply-to:cc:references:message-id:date :subject:mime-version:from:content-transfer-encoding:dkim-signature; bh=kye/Ut1Af/DbDESgWkByHpPzhP9KtOWgHWRLp79CaMg=; b=U26Su/K7e5KpkrFOrv18Sx2JsKfuTQdJLsbMS6E0G2U3pAcqiCgoMy2xTfNu3eMVFd JDCPYCg+OWcDAklSeGdTlMHU9bN0OTpdoupxnFjq2MANgotTEzEV6DQOuvHUODxGb8d/ 06YymNCXhhDGyKIIwPVlV9mWYrDcmAPYKx2/58cqscEk+av+60sZvx/gGOVtetT/sg3e P1qbPp5uZjXswNvkgEh0DeV+TZXfjJ+RDwKGg97xfEkc8udHIH/0qAQ91ujJGqzLNxU6 VCcOFk45M2kzaebR6fvAsysP0Sh9Cfmra8GKwG8ECdCDj6u5+6gm0Ogys4togpsogm+i nTxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b="MRkI2/Dx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a7-20020a17090ad80700b0022331529994si2593557pjv.144.2023.01.20.06.35.47; Fri, 20 Jan 2023 06:35:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b="MRkI2/Dx"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230016AbjATNr4 (ORCPT + 49 others); Fri, 20 Jan 2023 08:47:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjATNry (ORCPT ); Fri, 20 Jan 2023 08:47:54 -0500 Received: from mail-vk1-xa34.google.com (mail-vk1-xa34.google.com [IPv6:2607:f8b0:4864:20::a34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BA4F7A8C for ; Fri, 20 Jan 2023 05:47:53 -0800 (PST) Received: by mail-vk1-xa34.google.com with SMTP id v81so2557994vkv.5 for ; Fri, 20 Jan 2023 05:47:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=kye/Ut1Af/DbDESgWkByHpPzhP9KtOWgHWRLp79CaMg=; b=MRkI2/Dx9mm2J6vT5Hg22AfzFL7N+TE+SQhwFk2tbG4T6KKy3QTRPoc9yVACHPT384 WXcv3HtvfUfG4sDUGSyOU3m56jrLNfBQbpdp1g25hyGLahPKHZ53aX8uLHVbPjCvCd7e lUxysAqfatVQjzfjINvd5a2dlZ3qjx093y2ag= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kye/Ut1Af/DbDESgWkByHpPzhP9KtOWgHWRLp79CaMg=; b=1cb0Y5bCmuLYDPKx4/PbxIBrwensYJ112IL2rJCXoeAe1BTTa/cobLKYnV8G5rnGjQ gia+eaSFwkmPZqZ0NXtNw5033WLaaNmc+Iqor4lT/m3xLRdJTUNJtOl6FWbbo1ahNezR +rVZ90X0d0dOiNJ13cP3lnOeWmgDVQtaLwqqdWKprEGxH1ZVF4xbgByLUVBatvgGBOpt SFaRuKLsR7cPFiXvejimxdzFWvPlaBZeP/hzujyFhSlUOasKw6WXLRg2FYNHSJmM12BG 76HQdVIFVuGY50qZU1K9Eb6TRR6xZrzbiLUExurvBlxEM++jZ3apY9NoH966r3yAfbEH wIaA== X-Gm-Message-State: AFqh2kqb38JYG0r4dFJYgXbj/r4LtW3m8lAIE9ocZOzO4wNCON/ulXQw 9U0tCALh4Yhra+TV4eHxCgE2UQ== X-Received: by 2002:ac5:cd42:0:b0:3da:6212:69b2 with SMTP id n2-20020ac5cd42000000b003da621269b2mr9615177vkm.14.1674222472644; Fri, 20 Jan 2023 05:47:52 -0800 (PST) Received: from smtpclient.apple (c-98-249-43-138.hsd1.va.comcast.net. [98.249.43.138]) by smtp.gmail.com with ESMTPSA id bl8-20020a05620a1a8800b006fa9d101775sm1443187qkb.33.2023.01.20.05.47.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Jan 2023 05:47:51 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Joel Fernandes Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] tick/nohz: Fix cpu_is_hotpluggable() by checking with nohz subsystem Date: Fri, 20 Jan 2023 08:47:41 -0500 Message-Id: <6D3E70AC-8D01-41C7-9FDE-6693E9706425@joelfernandes.org> References: Cc: linux-kernel@vger.kernel.org, Frederic Weisbecker , "Paul E. McKenney" , Zhouyi Zhou , Will Deacon , Marc Zyngier , rcu , Frederic Weisbecker , Ingo Molnar , "Rafael J. Wysocki" , Thomas Gleixner In-Reply-To: To: Greg Kroah-Hartman X-Mailer: iPhone Mail (20B101) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Jan 20, 2023, at 8:44 AM, Greg Kroah-Hartman wrote: >=20 > =EF=BB=BFOn Fri, Jan 20, 2023 at 08:32:30AM -0500, Joel Fernandes wrote: >>=20 >>=20 >>>> On Jan 20, 2023, at 2:05 AM, Greg Kroah-Hartman wrote: >>>=20 >>> =EF=BB=BFOn Thu, Jan 19, 2023 at 08:44:35PM +0000, Joel Fernandes (Googl= e) wrote: >>>> For CONFIG_NO_HZ_FULL systems, the tick_do_timer_cpu cannot be offlined= . >>>> However, cpu_is_hotpluggable() still returns true for those CPUs. This c= auses >>>> torture tests that do offlining to end up trying to offline this CPU ca= using >>>> test failures. Such failure happens on all architectures. >>>>=20 >>>> Fix it by asking the opinion of the nohz subsystem on whether the CPU c= an >>>> be hotplugged. >>>>=20 >>>> [ Apply Frederic Weisbecker feedback on refactoring tick_nohz_cpu_down(= ). ] >>>>=20 >>>> Cc: Frederic Weisbecker >>>> Cc: "Paul E. McKenney" >>>> Cc: Zhouyi Zhou >>>> Cc: Will Deacon >>>> Cc: Marc Zyngier >>>> Cc: rcu >>>> Fixes: 2987557f52b9 ("driver-core/cpu: Expose hotpluggability to the re= st of the kernel") >>>> Signed-off-by: Joel Fernandes (Google) >>>=20 >>> Also want to cc: stable on the patch? >>=20 >> Oh sure, sorry. For some reason I thought Sasha and your AI scripts >> were looking at the Linux-kernel list as well. Or are they, and a Cc >> to stable is just to be doubly sure? >=20 > As per the rules we have had for the last 15+ years, always add a cc: > stable to be sure that the patch will be considered for stable releases. > If not, you are on you own and sometimes we might notice it, others not. >=20 > See: > https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html= > for the details. Ah my bad, I did read that already but somehow assumed anything merged with a= Fixes tag was already considered for stable. I will always Cc stable hencef= orth if I want something in stable. Thank you! - Joel >=20 > thanks, >=20 > greg k-h