Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2082420rdb; Tue, 3 Oct 2023 09:38:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG8410MRauBd3/lugVIzeNhUuL+LHMpgdbb5DwmKbOQHSDtCgZ5cvurU77apx1uS78c0QJc X-Received: by 2002:a05:6a20:6a1a:b0:147:fd40:2482 with SMTP id p26-20020a056a206a1a00b00147fd402482mr14982396pzk.44.1696351087777; Tue, 03 Oct 2023 09:38:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696351087; cv=none; d=google.com; s=arc-20160816; b=XtF9+QzAGywUQujeLduScB14Um9crOWrnulsYNKgRosLARh87g5Q1ZuPGMwNBmg6jS bLMxoK8bnSLIwfws1wAT8ODkHennLp/qpUegJ5rDB2Zvby5lRYZaIqj8MtoL/HgrQ1fc gXEFQDDEbzuSssUEmYidrGtAqN6QaHLjhqW4yM2cwX+IxF33zNSDDDfBTWJCbpJHPR5v gvyz7Xn5RhiSGGnwSLwCSASRzWSUYOJ/uC3Jy9f0ESegtL74Pw/PTHQe3MRDzAgwTPYc 0CMwV3zSYGCnx5g1o6AEAFxYV+Q6nJiqzf37NIUehwa5RYpm7DP9pVy8rmmJh3eFX5l8 p0nw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=P3cPei9YxX4qgpcsLzLws2Uh1NkAJw3l53FNhfAPm/8=; fh=XU46hifRqcMjvP7SKF29zVJh6LBgLdfdwjIB7cGjoX0=; b=UhCIOk2iiYuCZFaHPNl9lYF/pqTaFbdWxGfsEghUKZRDMfEYQUfwDtPWIZOblLShz0 CmPLueiVahyf9fuE51ZFW605kpieQTuNi6v6Csx3cql7c6CDrcU2gHldV9aynM8N6uZh krt1SqM36LLgnIhp8IgLGgqBYfinbW/PwiNbeSsUCy1V9/YICmtjrmfSMb9i/x5TUBEt bbXo790SG6dki9sOVyWNWb6DukSoY5kl1FrOihf/akhAdH483oQ/rK1C5L6sRxkloAKH T2F6o7Q6jiIWW9ar18jqup8zxrZ4hDNmFBWlwPuA27aqBP407Qp64i6P5JFBLI4XapdS O1rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=bf8OCuaf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id lo5-20020a170903434500b001c73e886f68si1630283plb.316.2023.10.03.09.38.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 09:38:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=bf8OCuaf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 71DB6811906D; Tue, 3 Oct 2023 09:38:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239387AbjJCQhq (ORCPT + 99 others); Tue, 3 Oct 2023 12:37:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231592AbjJCQhq (ORCPT ); Tue, 3 Oct 2023 12:37:46 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A98291 for ; Tue, 3 Oct 2023 09:37:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=P3cPei9YxX4qgpcsLzLws2Uh1NkAJw3l53FNhfAPm/8=; b=bf8OCuafodVOeSW48BMuiQYFDE cJ1v6aN5hXAVbNDu5ySUbfm26cmVWalT4DThd5NU9R/cm/C1mJysh7OUPwgRuyUWAm6IgLBQq5wR6 xwbXFonfwdc3kDZ5PcPq039awCeYjCfV9J8ZOi5QKBpJ4vKVYCctce/Rt0oIZeN/+VYPdBEdM3ptO +hRmNZDZWTqMYAgrdGw3zpcsTrWztrvlViU7T2m8H5aonMQJdGGGdxbikGUX9JcefTkkltRGPwJfP 3gjW4FmDYsbFk6kPz7eujXNErzchinjtWbHullW/teAtymZ+pw6TbsSeN5okuAvIP4y7CTC5k982S E0VfuSow==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1qniOe-00G17x-1u; Tue, 03 Oct 2023 16:37:20 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id B146B300348; Tue, 3 Oct 2023 18:37:19 +0200 (CEST) Date: Tue, 3 Oct 2023 18:37:19 +0200 From: Peter Zijlstra To: Yajun Deng Cc: Ingo Molnar , mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, linux-kernel@vger.kernel.org, kernel test robot Subject: Re: [PATCH v4] sched/rt: move back to RT_GROUP_SCHED and rename it child Message-ID: <20231003163719.GG1539@noisy.programming.kicks-ass.net> References: <20230803050317.2240948-1-yajun.deng@linux.dev> <93aa2ee6-3ee4-0129-7160-d3684ba67f56@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <93aa2ee6-3ee4-0129-7160-d3684ba67f56@linux.dev> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 03 Oct 2023 09:38:04 -0700 (PDT) On Tue, Oct 03, 2023 at 10:55:50PM +0800, Yajun Deng wrote: > @Peter, I think I split up this patch into 2 separate patches: > > ???? ??? sched/rt: Introduce for_each_sched_rt_entity_back() & use it Why ?? Having that macro makes no sense what so ever. You can't use it, unless you set up the back pointers first. It is not a self contained piece of functionality. > ??? ??? sched/rt: Move sched_rt_entity::back to under the > CONFIG_RT_GROUP_SCHED block This one sure.