Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753563AbcD1KtD (ORCPT ); Thu, 28 Apr 2016 06:49:03 -0400 Received: from mga02.intel.com ([134.134.136.20]:49305 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753043AbcD1KiO (ORCPT ); Thu, 28 Apr 2016 06:38:14 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,546,1455004800"; d="scan'208";a="964534276" From: Yuyang Du To: peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org Cc: bsegall@google.com, pjt@google.com, morten.rasmussen@arm.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, juri.lelli@arm.com, Yuyang Du Subject: [PATCH 0/6] Optimize sched averages computation Date: Thu, 28 Apr 2016 10:56:07 +0800 Message-Id: <1461812173-32439-1-git-send-email-yuyang.du@intel.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1027 Lines: 25 I started to optimize __update_load_avg() for flat util hierarchy implementation. Since it was started, let me finish. The flat util hierarchy is not in this patchset. I am still pondering whether we add sched_avg in rq to do it or simply and only update cfs_rq util when we update the top cfs_rq (Dietmar and Vincent took this approach). I think this needs some experiments. Yuyang Du (6): sched/fair: Optimize sum computation with a lookup table sched/fair: Rename variable names for sched averages sched/fair: Change the variable to hold the number of periods to 32bit integer sched/fair: Add __always_inline compiler attribute to __accumulate_sum() sched/fair: Optimize __update_sched_avg() documentation: Add scheuler/sched-avg.txt Documentation/scheduler/sched-avg.txt | 160 +++++++++++++++ kernel/sched/fair.c | 352 +++++++++++++++++---------------- 2 files changed, 339 insertions(+), 173 deletions(-) create mode 100644 Documentation/scheduler/sched-avg.txt -- 1.7.9.5