Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3197979rdb; Wed, 13 Sep 2023 05:21:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHwW8lvVsWqX52AjtJ0nYjmFJKNiFIqUoWkdMlpk+oC5T1UbNNshp2zLldBKa9xeNzmdPLK X-Received: by 2002:a05:6a20:4327:b0:13b:b4bb:8b18 with SMTP id h39-20020a056a20432700b0013bb4bb8b18mr2813995pzk.1.1694607688852; Wed, 13 Sep 2023 05:21:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694607688; cv=none; d=google.com; s=arc-20160816; b=D8gdR5hwPvpfcahGeVcDPbt9bnI0jIx/7RUyEfh5plxTWth+nd7ZBdoCZAOtbD6vzq JqYSf/L6ROf37aZ6/5c3aZBSiodpNN7MN4dhgsdsqfGcBnbqWk58qSTDkPkiK8sCSmI8 XtIuwJpAtiqjugBP/MDNULoeqs4PsjN/yuTj5YkvAIetoUR9+D/vUtNpmjX/rj34tox0 vXPtpwEjLyOZoodnpmxyApywg5BSf2UuMz01w3zK2OynxJ5iQpR6rEhahf/YVcYYdlKp RI8NVoDgXTblnw59Qlha3feng3CpJ/6w8S9sOOvpg3Ae52k2yjvMohfnaiLXg2SMyDz3 2zqw== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=CcPs1loMse6j9I5mnXT5xMOl9FMdZpWS3PB4AoazHUs=; fh=IN2r/lu6nB8F7MYeZ0xXPIXoZ+C+QiAV+k4AKDWmYQU=; b=kRhyq41cP0Yj6Vbootvrj0+Qjnt6i7JM858tpfUeB8Z8Kj8A9Y7S1McwY8U2Vpxnak SblrwEgEzoD1QM89OVebHcvb9uCFuHvSoC2DVTSfVKXufF3UqCHxF1NeekGm2XdSQnv3 yGl9FLRD00KsU3J7HdLH4G95hXK7FkUrFWJ6F6ANce9KBCg7Uc3jteHrpise/v4UNCyF csSJ9xz1qJWA0xsB3lE3P8yCgG4gLTx04vFIt558vxc77LENeLMEFdPxmGPD7IQVcUnH /y/eTcq6/l/6J+9Js6C8bE9Y4ls/PiY+6lns92ZffXX6lJqB4zuwfwBlanyG7WvhvaCT acbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=AigZBCoj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id c7-20020a633507000000b005653378ef3fsi9929189pga.849.2023.09.13.05.21.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 05:21:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=AigZBCoj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 756BF81A2373; Wed, 13 Sep 2023 02:04:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239188AbjIMJEQ (ORCPT + 99 others); Wed, 13 Sep 2023 05:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239149AbjIMJEP (ORCPT ); Wed, 13 Sep 2023 05:04:15 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D6BF1999 for ; Wed, 13 Sep 2023 02:04:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=CcPs1loMse6j9I5mnXT5xMOl9FMdZpWS3PB4AoazHUs=; b=AigZBCojNkNHoE2JG0mWdvw/9K sp7rSb1+2jyE9ucAnnmaCkpP7G3qGMM5TgaW53nO1FZe1SP5R6IDPtxbj5mBqCndi8I7fjGT8Dl4I MFpibKiyVZs9Ja0evQ4cj/7m7eQ6MeAlmfZxG1U4bJBcJz2WJHUTYq/lwFNTwYT09OqrYKURvvNok bM2lHthmhE+9qc9aF53OGTwZx5vS8YQxRtAz3VHadqmIPc+cU/ARt/mVyTcH74VgpGPW/wd/ZYAeo RTayjqrZQ5+LDt8Cu0WqYxapvjsEb2DXTqME6KM/SnAx/IsfMCRb6dz0i7GENYB0HELSOezSmViLH tPvJeKbQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qgLmT-006wJM-0Z; Wed, 13 Sep 2023 09:03:31 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 48F39300348; Wed, 13 Sep 2023 11:03:30 +0200 (CEST) Date: Wed, 13 Sep 2023 11:03:30 +0200 From: Peter Zijlstra To: Sebastian Andrzej Siewior Cc: mingo@kernel.org, vincent.guittot@linaro.org, linux-kernel@vger.kernel.org, juri.lelli@redhat.com, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, corbet@lwn.net, qyousef@layalina.io, chris.hyser@oracle.com, patrick.bellasi@matbug.net, pjt@google.com, pavel@ucw.cz, qperret@google.com, tim.c.chen@linux.intel.com, joshdon@google.com, timj@gnu.org, kprateek.nayak@amd.com, yu.c.chen@intel.com, youssefesmat@chromium.org, joel@joelfernandes.org, efault@gmx.de, tglx@linutronix.de Subject: Re: [PATCH 07/15] sched/smp: Use lag to simplify cross-runqueue placement Message-ID: <20230913090330.GC692@noisy.programming.kicks-ass.net> References: <20230531115839.089944915@infradead.org> <20230531124604.068911180@infradead.org> <20230912153221.lSL8YgJJ@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230912153221.lSL8YgJJ@linutronix.de> 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 (lipwig.vger.email [0.0.0.0]); Wed, 13 Sep 2023 02:04:16 -0700 (PDT) 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 lipwig.vger.email On Tue, Sep 12, 2023 at 05:32:21PM +0200, Sebastian Andrzej Siewior wrote: > On 2023-05-31 13:58:46 [+0200], Peter Zijlstra wrote: > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@ -12492,22 +12440,9 @@ static void task_fork_fair(struct task_s > > > > cfs_rq = task_cfs_rq(current); > > curr = cfs_rq->curr; > > - if (curr) { > > + if (curr) > > update_curr(cfs_rq); > > - se->vruntime = curr->vruntime; > > - } > > place_entity(cfs_rq, se, 1); > > - > > - if (sysctl_sched_child_runs_first && curr && entity_before(curr, se)) { > > Since the removal of sysctl_sched_child_runs_first there is no user of > this anymore. There is still the sysctl file sched_child_runs_first with > no functionality. > Is this intended or should it be removed? Hurmph... I think that knob has been somewat dysfunctional for a long while and it might be time to remove it. Ingo?