From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751820AbdBMFjQ (ORCPT ); Mon, 13 Feb 2017 00:39:16 -0500 Received: from mga01.intel.com ([192.55.52.88]:53760 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751790AbdBMFjP (ORCPT ); Mon, 13 Feb 2017 00:39:15 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,155,1484035200"; d="scan'208";a="820185505" 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, Yuyang Du Subject: [RESEND PATCH 0/2] sched/fair: Add documentation and optimize __update_sched_avg() Date: Mon, 13 Feb 2017 05:44:21 +0800 Message-Id: <1486935863-25251-1-git-send-email-yuyang.du@intel.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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