Received: by 10.192.165.156 with SMTP id m28csp303477imm; Tue, 10 Apr 2018 22:20:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+340XbllKxO2P5MA6rxU2dZLdDP4Zy2glpcFtcLamBIZYrzFoG+wm/uvkt2TFljSA1vAey X-Received: by 10.99.96.66 with SMTP id u63mr2388847pgb.22.1523424035804; Tue, 10 Apr 2018 22:20:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523424035; cv=none; d=google.com; s=arc-20160816; b=zOWU4efQtCY56zXsT6cLJQpMB413Nnhd5WCVma/qzjNO8NY2c904ariiJbmMet+mfZ lW9ngvy1OfBYjcmiDjjsbZAzBAW984BIhI/Ez29yMaCpZfJOmGzeIGN3OIOLlPq6uIHc qTZN/ZKPFviGVl9jwXc5bbYdSGleN1iGUFwbl5EwmkKlGlYQFY9is8ljdLkGY5i3kGGo QOo+lIj93OZWwWp4vKycAy4frZhXt7JjV1NSWzVVEZppttW52gOb/CrBEe+JjqDbjk+D sc5IFUHSNx1M0A+G8apOBKc+rM6PgHKYaa8oGjNJIOwSfFKaolJyeS2ZfPE2FL4EzFvn vQDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from :arc-authentication-results; bh=aoUfU3Af8+l9/F/3BCX/v1ddadVCoeIDz3XWVklfm6A=; b=j90Lpar/MiWZgauH7oHJlAGkm3Irz9wKvDSFK2gti5HAuz2JFjEAQseE172nBaCB9V UuJgpGigHy2rFQ3+fM5ihT6g9BASrd0pmL9an+Bd1c2LU7QsqfkszoLoZZ/RCQZlpZa+ qyyIQJ+YHhqqNoJjEO9f69RFXz4GVBLDSJI6Up3z+8bRWCUjedG8GKBRcnB8cm/MQmcp w2IVQYjoraIqoT+9jG0bgtXk9BN1N+knc7yY+yiNSLbo2xg2Dvh7sDax7dMJtufochRm LVmPVwqPwJ2BKlokyP8uACjlupdIy8o+NUDd8dtOvtA9+YG1S6t8k2iz9W6pIQ5stMjv atYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si244747pgr.572.2018.04.10.22.19.59; Tue, 10 Apr 2018 22:20:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751891AbeDKFRQ (ORCPT + 99 others); Wed, 11 Apr 2018 01:17:16 -0400 Received: from mx57.baidu.com ([61.135.168.57]:47359 "EHLO tc-sys-mailedm02.tc.baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751734AbeDKFRO (ORCPT ); Wed, 11 Apr 2018 01:17:14 -0400 Received: from localhost (cp01-cos-dev01.cp01.baidu.com [10.92.119.46]) by tc-sys-mailedm02.tc.baidu.com (Postfix) with ESMTP id 7C2C511C01E7; Wed, 11 Apr 2018 13:16:56 +0800 (CST) From: Li RongQing To: linux-kernel@vger.kernel.org, mingo@redhat.com, peterz@infradead.org Subject: [PATCH] sched/fair: remove stale comments about tg_unthrottle_up Date: Wed, 11 Apr 2018 13:16:56 +0800 Message-Id: <1523423816-18322-1-git-send-email-lirongqing@baidu.com> X-Mailer: git-send-email 1.7.10.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After commit 82958366cfea ("sched: Replace update_shares weight distribution with per-entity computation"), tg_unthrottle_up did not update the weight Signed-off-by: Li RongQing --- kernel/sched/fair.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 0951d1c58d2f..b885ed6fd97b 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -4703,7 +4703,6 @@ static inline int throttled_lb_pair(struct task_group *tg, throttled_hierarchy(dest_cfs_rq); } -/* updated child weight may affect parent so we have to do this bottom up */ static int tg_unthrottle_up(struct task_group *tg, void *data) { struct rq *rq = data; -- 2.11.0