Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp524621imw; Thu, 14 Jul 2022 06:04:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sZXjD9+deDW5JzZM1+aRkbNG3pu0RnyBR72GLPcowx8GHMzCUtz9Jb9287zfFBc9j6Kycc X-Received: by 2002:a17:907:3f90:b0:72b:859e:8fdc with SMTP id hr16-20020a1709073f9000b0072b859e8fdcmr8707916ejc.735.1657803879767; Thu, 14 Jul 2022 06:04:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657803879; cv=none; d=google.com; s=arc-20160816; b=ZETwSA67eUa2xcbgSYJZnbXuq/OGd72nZCqSXmNDiYZaqh9bYgrHlltROCOO3lwoqf FCQr7mTBo0ov5cMB3QbcOKCBJHr70W6zwQyNpfHlSUZanSfJfTm2oRVaJKKb87EcNK/1 CqLiVJntppzHsEqqk+PGGzElWkHxoE3V2H/wXXvNKBG8NMkmV0BlOAqwcRWLaKcdwwpF FSQGkwcQOqCjlW+J2eXi3YWbZ+qEhwjYymZWA1Ymi3pL3c1JqCrxBHNdpedIMFkKPtKr tleEZhpSKYtAuCirzHyZlDvQPVynRRXKdnc8aUuIG3q/8GSqGAwLBaTaHrg5no3Fecs1 stxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=wBZuR4lJeaN68Hm/DzbxwTGnEwRc5eBc72v+RfRGtVQ=; b=QOrYTcSxGvuVcBJ35YZVVyHdhsJE9S1GtdXiCpQsLiXVk9khiz7Bo4Kvwuj4lWjBB1 tT4zvuD3kja3qrNAWrI9Ng0CPeOTcx4wbG16mQAxlId4qr7S3iGyu9/6vOg84P4dsM7p 1GhtpYiWkj0FegPlLOIgrzKK8yEBRm3lWfrLqsdWqEfG77ILbZ/iXUEx6BA4blCfjQpg WZj2jTYfvHDY35ckaNR1MTsq/mx5EMsCnynI6ZHXQtu2kh+SqM2wrPXvl6aHUuMlb4u2 9ncysMVnb7qowRZbDeUDww4fbjC5F76UJSnmgw20R67Ga815QvvoGMKEJJG3nNL0CrQ+ nx9g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w19-20020a05640234d300b0043a66a48f98si2400886edc.34.2022.07.14.06.04.10; Thu, 14 Jul 2022 06:04:39 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239235AbiGNMdN (ORCPT + 99 others); Thu, 14 Jul 2022 08:33:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239014AbiGNMdL (ORCPT ); Thu, 14 Jul 2022 08:33:11 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EC15D42AEF for ; Thu, 14 Jul 2022 05:33:10 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2EFC813D5; Thu, 14 Jul 2022 05:33:11 -0700 (PDT) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 83B333F792; Thu, 14 Jul 2022 05:33:09 -0700 (PDT) Message-ID: <71c7d48c-8ce8-9d43-d578-2a3c15dbd64b@arm.com> Date: Thu, 14 Jul 2022 14:33:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v2 06/10] sched/fair: delete superfluous SKIP_AGE_LOAD Content-Language: en-US To: Chengming Zhou , mingo@redhat.com, peterz@infradead.org, vincent.guittot@linaro.org, rostedt@goodmis.org, bsegall@google.com, vschneid@redhat.com Cc: linux-kernel@vger.kernel.org References: <20220713040430.25778-1-zhouchengming@bytedance.com> <20220713040430.25778-7-zhouchengming@bytedance.com> From: Dietmar Eggemann In-Reply-To: <20220713040430.25778-7-zhouchengming@bytedance.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE,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 13/07/2022 06:04, Chengming Zhou wrote: > There are three types of attach_entity_cfs_rq(): > > 1. task migrate to CPU > 2. task move to cgroup > 3. task switched to fair from !fair > > The case1 and case2 already have sched_avg last_update_time > reset to 0 when attach_entity_cfs_rq(). > > We will make case3 also have last_update_time reset to 0 when > attach_entity_cfs_rq() in the following patches. > > So it makes no difference whether SKIP_AGE_LOAD is set or not. Wouldn't this patch make more sense after 09/10? [...]