From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753123AbcEPCk7 (ORCPT ); Sun, 15 May 2016 22:40:59 -0400 Received: from mga01.intel.com ([192.55.52.88]:48632 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751895AbcEPCk6 (ORCPT ); Sun, 15 May 2016 22:40:58 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,625,1455004800"; d="scan'208";a="807306266" 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: [RFC PATCH 0/9] Clean up and optimize sched averages Date: Mon, 16 May 2016 02:59:25 +0800 Message-Id: <1463338774-3324-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 Hi Peter, Continue the left patches in this series. I realized some patches should need thorough discussion (finally), so this post is marked RFC. - For LOAD_AVG_MAX_N, I am OK to stick to the old value, but it is worthwhile to get it cleared to the true value. - About the renames, I noticed there is an existing sched_avg_update(), but anyway, please NAK the renames you don't want, hopefully not all, ;) - Removing scale_load_down() for load_avg may have some unknown ramifications, is it worth trying? The previous post is at: http://thread.gmane.org/gmane.linux.kernel/2214387/focus=2218488 Thanks, Yuyang -- Yuyang Du (9): sched/fair: Chance LOAD_AVG_MAX_N from 345 to 347 documentation: Add scheduler/sched-avg.txt sched/fair: Add static to remove_entity_load_avg() sched/fair: Rename variable names for sched averages sched/fair: Change the variable to hold the number of periods to 32-bit sched/fair: Add __always_inline compiler attribute to __accumulate_sum() sched/fair: Optimize __update_sched_avg() sched/fair: Remove scale_load_down() for load_avg sched/fair: Rename scale_load() and scale_load_down() Documentation/scheduler/sched-avg.txt | 94 ++++++++ include/linux/sched.h | 21 +- kernel/sched/core.c | 8 +- kernel/sched/fair.c | 382 +++++++++++++++++---------------- kernel/sched/sched.h | 18 +- 5 files changed, 317 insertions(+), 206 deletions(-) create mode 100644 Documentation/scheduler/sched-avg.txt -- 1.7.9.5