From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751957AbdB1JAP (ORCPT ); Tue, 28 Feb 2017 04:00:15 -0500 Received: from mga04.intel.com ([192.55.52.120]:62139 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751625AbdB1JAO (ORCPT ); Tue, 28 Feb 2017 04:00:14 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,218,1484035200"; d="scan'208";a="1103097639" Date: Tue, 28 Feb 2017 08:59:58 +0800 From: Yuyang Du To: mingo@kernel.org, peterz@infradead.org, linux-kernel@vger.kernel.org Cc: pjt@google.com, bsegall@google.com, morten.rasmussen@arm.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, matt@codeblueprint.co.uk, umgwanakikbuti@gmail.com Subject: Re: [RESEND PATCH 0/2] sched/fair: Add documentation and optimize __update_sched_avg() Message-ID: <20170228005958.GC15994@ydu19desktop> References: <1486935863-25251-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: <1486935863-25251-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 and Ingo, Could you please give a look at this? Thanks, Yuyang On Mon, Feb 13, 2017 at 05:44:21AM +0800, Yuyang Du wrote: > Hi Peter, > > I found I have some patches that go nowhere, out of which two stand out. So I resend them. > > The first one adds a document about how to calculate the constants used in load tracking, > which was suggested by you and mentioned in commit 7b20b916e953cabef569541f991a0a583bc344cb > > Author: Yuyang Du > Date: Tue May 3 05:54:27 2016 +0800 > > sched/fair: Optimize sum computation with a lookup table > > And the second one attempts to optimize __update_sched_avg(), mostly resulting in code simplification. > > These two patches have NO changes made to the names nor functions in the existing codes. > > Would you please give it a look? > > Thanks, > Yuyang > > -- > > Yuyang Du (2): > documentation: Add scheduler/sched-avg.txt > sched/fair: Optimize __update_sched_avg() > > Documentation/scheduler/sched-avg.txt | 94 ++++++++++++++++++ > kernel/sched/fair.c | 174 +++++++++++++++++----------------- > 2 files changed, 182 insertions(+), 86 deletions(-) > create mode 100644 Documentation/scheduler/sched-avg.txt > > -- > 2.1.4