Received: by 10.192.165.148 with SMTP id m20csp1268320imm; Thu, 10 May 2018 08:07:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr7VFkIKDDc2bs6mYUpEwyNBvTyict9WahjKIvsQYuVBgjAXLiuT4ZIedGNU9uka+BDvqnT X-Received: by 2002:a17:902:14d:: with SMTP id 71-v6mr1721568plb.275.1525964861511; Thu, 10 May 2018 08:07:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525964861; cv=none; d=google.com; s=arc-20160816; b=XH8Jsm19qA4yqr8qSoGVfW0r+lsP+7NwEdPs6dQ5tu54daLecl9bO7Z/ELdLinIn/9 Tk8Jr1qLj8ENl8dET+394d0EgNQgBPPzlTk+pHmQKqy9f8roA/2Sinmf9/uWdN6zjR5X SLfRD2GzdXtVmAUqPZPyAzbDCqx/Fs1rh9RhYCJ+qUlDzQRM/5a5AFir3HtP9KQH4ZUx tXnUgerQ/5ScWD3nhPsNjuxTI8cTqD32x0xNKpTF16pYbsZKLfyfrdHzObg4y10tHKSQ L/yLjdLG4XeMsZQGNELp47USqCa9xbrzLlMavtP7DyQTbWyWaQfrkUKMNxGlhM/I2hW/ bLSQ== 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:cc:to:from :arc-authentication-results; bh=9lsL/a9SkIzBrfl4dMds6IZGhBHcFpyWEJB8EaAPVgg=; b=SDTbfxpeWCR6uQ6CGjv2RtLUScziug4oQLEDluW5vv3OL9AuTYyiCgm3Rp9GfDTGla sq+M8q6Ci1m67HITIQZuZgtATi4+iA8o642r4X0XwPi52bbBvJMH+qUhX0ZI3JBzCesp Yh9M+OfwFXbLN8L996kK9u0f0yXf4oHq6jH2y3rUlVoKMVdjZke3Gk4VqJDnYQOn5HA7 JVeOgeGES5+PF0u/JoLu2uCuog5PJM2jYeLXcr6dnBtsu1nsUoUHzHoDjK1EsCVyP6XF O7D40EuAsSVdGdHY4cGpSfJyMe8BD9DM2OHvk3drNKStMJ9VmiFkArT8nkrwq5ubBP6R yC8Q== 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 q192-v6si1040179pfq.307.2018.05.10.08.07.24; Thu, 10 May 2018 08:07:41 -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 S966110AbeEJPGH (ORCPT + 99 others); Thu, 10 May 2018 11:06:07 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:57298 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965665AbeEJPGF (ORCPT ); Thu, 10 May 2018 11:06:05 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7F9C715AB; Thu, 10 May 2018 08:06:05 -0700 (PDT) Received: from e110439-lin.cambridge.arm.com (e110439-lin.cambridge.arm.com [10.1.210.68]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 413203F23C; Thu, 10 May 2018 08:06:03 -0700 (PDT) From: Patrick Bellasi To: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Cc: Ingo Molnar , Peter Zijlstra , "Rafael J . Wysocki" , Viresh Kumar , Vincent Guittot , Dietmar Eggemann , Morten Rasmussen , Juri Lelli , Joel Fernandes , Steve Muckle Subject: [PATCH 0/3] Improve schedutil integration for FAIR tasks Date: Thu, 10 May 2018 16:05:50 +0100 Message-Id: <20180510150553.28122-1-patrick.bellasi@arm.com> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a follow up of: https://lkml.org/lkml/2018/4/6/935 where the original patch has been split into three to better address the different issues discussed in the previous posting. The first two patches of this series are fixes for: - FAIR utilization aggregation based on blocked utilization decay instead of cfs.h_nr_running - Estimated utilization updates which needs to be updated before schedutil is at enqueue time The last patch provides the remaining bits of the original one in a self contained re-factoring of how we update schedutil for FAIR tasks. Cheers Patrick Patrick Bellasi (3): sched/cpufreq: always consider blocked FAIR utilization sched/fair: util_est: update before schedutil sched/fair: schedutil: explicit update only when required kernel/sched/cpufreq_schedutil.c | 17 ++++---- kernel/sched/fair.c | 83 ++++++++++++++++++---------------------- 2 files changed, 46 insertions(+), 54 deletions(-) -- 2.15.1