From patchwork Fri Jun 8 12:09:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Guittot X-Patchwork-Id: 137958 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp792936lji; Fri, 8 Jun 2018 05:12:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLj6Pke4fzkA4hb8HaCbXN3z8RRysJKEo8pJHLOXR+KDEFOy5fajAw8+efu6ZNL/eRxC1of X-Received: by 2002:a62:b509:: with SMTP id y9-v6mr5793310pfe.121.1528459935798; Fri, 08 Jun 2018 05:12:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528459935; cv=none; d=google.com; s=arc-20160816; b=RW2ctOllfHvGyKVPcdrfcuS7RNvZv+EPSd4VYx487pocZ53syEthT+SWXh/agwG/Jd iEJEM/9sdhWduOdRVa4QbA+JRS6NNlE0PSIZ3D0FAQeS5MVUPIczmbYOSP2y3EU9dYHI X0SGrNI7cMPks0w8eb5yspWaNqnd66UMp6nUOYbh0qagITynhOQcYLgAdCABztVlKLB6 MHVGIeEooT9VLtzLCytLP2+C1ouZUVOF01oHQLknf0Mp/RPB+ViX6SjF9jnLsFbqwWLO 9fsdHP9BHChj5BoSEmcChmliolTjPFif67GgZCjHewSsc54iE5FH6IvkcxmzGfpOJiNO qGHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=BBIn+dyfWNg2BP9P3LhrqhOynHzD7w3d3ReCisqZKME=; b=iAbe2IHnBZIxcRBi/pJi+ediBh8ywZc0RoRh1sqhp9heVxxw5NGC8JnJ2jDC+mVvXb lLSySlcwfRVfm5qNkJ8GXmzTpZTIZLZO9a+Y0QxBFhGG98qx9fZQVZvNSANCg05iR4FO QnJijLMaDxfGQC0y5/IQ/7+Vs/f02C+K8anwti3cpbQwhjHB3V77SUpXASHL6wQeZKux 8mi9DHCF68Ft8AyWVi0Ea3KqeiWGilswEXdLg/34E9ovMS638xcautiPZ0FQ7sw20i70 P6VnuvNEgqBxhZezNuydr35lw+8KqDRYzuLzLfX4vsZPXyIHQLPa9Xv9ysDXL1ea1WjU ueqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C9L61ZhJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x15-v6si10476277pgv.389.2018.06.08.05.12.15; Fri, 08 Jun 2018 05:12:15 -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; dkim=pass header.i=@linaro.org header.s=google header.b=C9L61ZhJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752828AbeFHMKV (ORCPT + 30 others); Fri, 8 Jun 2018 08:10:21 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35959 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752356AbeFHMKQ (ORCPT ); Fri, 8 Jun 2018 08:10:16 -0400 Received: by mail-wm0-f65.google.com with SMTP id v131-v6so3297210wma.1 for ; Fri, 08 Jun 2018 05:10:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BBIn+dyfWNg2BP9P3LhrqhOynHzD7w3d3ReCisqZKME=; b=C9L61ZhJ1Sa5Y6q567YMSeE2NNegSM5WgObtDSG89B7saYRNQQQBxaq05wuD5FwLJT 1wQ4LJcx7GASQonynvBrEv1zfjIjHOeDO2A2oiSemnYd+l+OHxH3MaHBEilJjH6Ad5he Lu/TBZWniV7MUesLN7clXhKEgMu25rcHaKZmo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BBIn+dyfWNg2BP9P3LhrqhOynHzD7w3d3ReCisqZKME=; b=sIMqhBYuQXUY7MYaojtg92fkvwFmfLJ6SNGtRqvgzYfRzLqMxTXkqy+uh1RrYK3jOp DrbwxGo054qmYZQ7qR2sT0vHvOyuKAbgRV17wIPOV7xdZ06vFeiO/dgue3VAtBMWwv5F yeF8c37wRC+14xgNS+WL+esypa/bVhdfGUCAgFjO2+6cj5qKb3XSBG6jcAzOpBiNBAzG l8u+NomQY9nfgWHD7KcmzQINrsVhVYVMkbA/gm3lQUyeMWn/bahe+z0PPbflvXWizZd4 iz49v+LnQ+/3vQrnlsLZhJM42UkxLndXS1eWo+LcmZYI4Tx5o7qrl52XFrOPaeNfhPOi vo1w== X-Gm-Message-State: APt69E1D8HcRVN2LXCDgA99vAcujYQiNC7Gj9CyrO/1GpSbx8ws0frKs UOLNdOz+HyYREikPtbKM1/r9WQ== X-Received: by 2002:a1c:9c0b:: with SMTP id f11-v6mr1362187wme.148.1528459815720; Fri, 08 Jun 2018 05:10:15 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:f:6020:6c67:7ea:9f4d:8968]) by smtp.gmail.com with ESMTPSA id b204-v6sm1546003wmh.22.2018.06.08.05.10.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Jun 2018 05:10:15 -0700 (PDT) From: Vincent Guittot To: peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org Cc: rjw@rjwysocki.net, juri.lelli@redhat.com, dietmar.eggemann@arm.com, Morten.Rasmussen@arm.com, viresh.kumar@linaro.org, valentin.schneider@arm.com, patrick.bellasi@arm.com, joel@joelfernandes.org, daniel.lezcano@linaro.org, quentin.perret@arm.com, Vincent Guittot , Ingo Molnar Subject: [PATCH v6 02/11] sched/pelt: remove blank line Date: Fri, 8 Jun 2018 14:09:45 +0200 Message-Id: <1528459794-13066-3-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1528459794-13066-1-git-send-email-vincent.guittot@linaro.org> References: <1528459794-13066-1-git-send-email-vincent.guittot@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove some blank lines in __update_load_avg_se() and __update_load_avg_cfs_rq Cc: Ingo Molnar Cc: Peter Zijlstra Reported-by: Patrick Bellasi Signed-off-by: Vincent Guittot --- kernel/sched/pelt.c | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4 diff --git a/kernel/sched/pelt.c b/kernel/sched/pelt.c index e6ecbb2..4174582 100644 --- a/kernel/sched/pelt.c +++ b/kernel/sched/pelt.c @@ -287,7 +287,6 @@ int __update_load_avg_se(u64 now, int cpu, struct cfs_rq *cfs_rq, struct sched_e if (___update_load_sum(now, cpu, &se->avg, !!se->on_rq, !!se->on_rq, cfs_rq->curr == se)) { - ___update_load_avg(&se->avg, se_weight(se), se_runnable(se)); cfs_se_util_change(&se->avg); return 1; @@ -302,7 +301,6 @@ int __update_load_avg_cfs_rq(u64 now, int cpu, struct cfs_rq *cfs_rq) scale_load_down(cfs_rq->load.weight), scale_load_down(cfs_rq->runnable_weight), cfs_rq->curr != NULL)) { - ___update_load_avg(&cfs_rq->avg, 1, 1); return 1; }