Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3486565ioo; Wed, 25 May 2022 01:30:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxh9SaG0X+jECmNgQycKlK9DoO+RQysk/IxP0s6nOLm9EnbGMSr5sN+NcLlEBRuLI+RN2Gg X-Received: by 2002:a63:4e20:0:b0:3f6:52e5:e4cc with SMTP id c32-20020a634e20000000b003f652e5e4ccmr24727218pgb.421.1653467440267; Wed, 25 May 2022 01:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653467440; cv=none; d=google.com; s=arc-20160816; b=Axz4AP2GrfDVTfZHwOnFG9BTUW38zkwp1sSSQK60Y4nV/idVrVEzsUvFcFYjtrApSP DvMNKUgf24iWah0IxXFAl39+Cy+IPR0s1LNUj16Rf2iLaBKh+wSKXwSAUlENUQu7lRYY gCGtjLOjRH9HsMRxfL97yiy3+oTRtTY3aFXxOjpJ6Junr4/GsRsE5O7PqmFimJAbGFKG XCm1BA/H0iO6hJosCbmeVG5x6tl2AJS/FLKed4aHsD6oXQW0cBKaZFrfU5DNTziSYIeE 2BZCqfr9lFIrqXLiu/om6au8rKVya2e8laHRiQccezoQhLA4WLSvpneM4iEykIkxIc3a CPEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=3Sl7PnvEN1mRaZ77YKaJrv/L+WjfJSD3DYaepqGXFQA=; b=B9A1auz/zajpU2y6ZGbrrBO28nGGdEE6pjC+qcOjVc0yjknFb7OX7JTjQTYQvUTwPH fF47VBXvWxDDGQJD+/HrtmfFR+OlMps+gunpwQq/qgVBGtpJd2i3l7T3jqKTMeaNsA0Y xnrYbjnyW9gjuQyDLxB10nJwYW6+9yb3EKcqDZ9NZSRXHI7tq1kmb3gmyAS5Oy/dL6Qx oHSC9ojNlV9X99jfwYiOxNISU3aON/D9qxxvU3SxtElOL8eQDZKwlUVsRE/BvOQ8KhJx zi+sZmDl8amCLkgvTBAFRIlfQIPB+IY3z82eemn+qUVTI9LIFV3Mr6ylK7Y9qbsw7lht oymA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uJfZPLKE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l17-20020a170903121100b00153b2d16646si7925349plh.590.2022.05.25.01.30.23; Wed, 25 May 2022 01:30:40 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=uJfZPLKE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238246AbiEXR27 (ORCPT + 99 others); Tue, 24 May 2022 13:28:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229978AbiEXR26 (ORCPT ); Tue, 24 May 2022 13:28:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65FC07DE00; Tue, 24 May 2022 10:28:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ED175614FB; Tue, 24 May 2022 17:28:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50F03C34100; Tue, 24 May 2022 17:28:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653413336; bh=OuUIX6i6CmssCGRzuFNEnxbirdfYgyCh/tlr9uIRveU=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=uJfZPLKEPt9r6DC1v+/7HTQlHQLVxGsbHs9PeWKaui+W+fPkxhDWd6GXzEpCniCfo BRtSb/sFDYea6QFrJwVkS7HPgyLAgVf6PxgJUAYwzca8dTQKA5QrzFpw2CnmcI9EeU Ao4oM+lJS+/Ao1bbFsNabPvBeHHkc0OWsFxlz0wg/0GoedBXb6RIhrEp4ZL5plhI0k 1bJ9M+SFsuclcwODEw+48hTBXBFW7bpag0SUKG/WqIxKrc+10sYb5cLAR4Ge9ozHf0 aNTmzL2uPN837JvrGaMGYY/lp5x4PeG4VRf/Tc3PrqhbcYBbz6A46YiWqfUnyS4TWf 5LDyn3AuJsCUQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D95E15C0378; Tue, 24 May 2022 10:28:55 -0700 (PDT) Date: Tue, 24 May 2022 10:28:55 -0700 From: "Paul E. McKenney" To: Zqiang Cc: frederic@kernel.org, rcu@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/2] Add no-idle tasks check which in dyntick-idle state Message-ID: <20220524172855.GP1790663@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20220524003454.1887414-1-qiang1.zhang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220524003454.1887414-1-qiang1.zhang@intel.com> X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Tue, May 24, 2022 at 08:34:52AM +0800, Zqiang wrote: > These commit stop scanning no-idle tasks which in dyntick-idle state and > remove idle-tasks check from warnings. This patch might well be correct, but there are supposed to be upcoming changes in the idle loop that would make it possible for RCU Tasks to take idle tasks into account: https://lore.kernel.org/all/20220515203653.4039075-1-jolsa@kernel.org/ There are currently issues in amd_e400_idle() and mwait_idle() preventing this, and there might well also be similar issues in non-x86 idle loops: https://lore.kernel.org/all/20220519135439.GX1790663@paulmck-ThinkPad-P17-Gen-1/ So I must hold off on this patch series for the time being. Nevertheless, thank you very much for your effort and interest in RCU. Thanx, Paul > v1->v2: > fix build error when CONFIG_TASKS_RCU=n > v2->v3: > remove idle-tasks check from task_is_on_dyntick_idle() > > Zqiang (2): > rcu-tasks: Stop RCU Tasks scanning no-idle tasks which record on > dyntick-idle entry > rcu-tasks: Remove is_idle_task() from warnings in check_holdout_task() > > kernel/rcu/tasks.h | 16 ++++++++++------ > 1 file changed, 10 insertions(+), 6 deletions(-) > > -- > 2.25.1 >