From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751826AbcEXEXg (ORCPT ); Tue, 24 May 2016 00:23:36 -0400 Received: from mga09.intel.com ([134.134.136.24]:26669 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751311AbcEXEXf (ORCPT ); Tue, 24 May 2016 00:23:35 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,359,1459839600"; d="scan'208";a="707899267" Date: Tue, 24 May 2016 04:26:02 +0800 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 Subject: Re: [RFC PATCH 0/9] Clean up and optimize sched averages Message-ID: <20160523202602.GB18670@intel.com> References: <1463338774-3324-1-git-send-email-yuyang.du@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1463338774-3324-1-git-send-email-yuyang.du@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, Could you give this a look? Thanks, Yuyang On Mon, May 16, 2016 at 02:59:25AM +0800, Yuyang Du wrote: > 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