Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932380AbcKPMPP (ORCPT ); Wed, 16 Nov 2016 07:15:15 -0500 Received: from terminus.zytor.com ([198.137.202.10]:35534 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752275AbcKPMPM (ORCPT ); Wed, 16 Nov 2016 07:15:12 -0500 Date: Wed, 16 Nov 2016 04:14:39 -0800 From: tip-bot for Morten Rasmussen Message-ID: Cc: torvalds@linux-foundation.org, hpa@zytor.com, morten.rasmussen@arm.com, peterz@infradead.org, tglx@linutronix.de, mingo@kernel.org, linux-kernel@vger.kernel.org Reply-To: tglx@linutronix.de, peterz@infradead.org, linux-kernel@vger.kernel.org, mingo@kernel.org, torvalds@linux-foundation.org, hpa@zytor.com, morten.rasmussen@arm.com In-Reply-To: <1476452472-24740-7-git-send-email-morten.rasmussen@arm.com> References: <1476452472-24740-7-git-send-email-morten.rasmussen@arm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:sched/core] sched/fair: Fix incorrect comment for capacity_margin Git-Commit-ID: 893c5d2279041afeb593f1fa8edd9d02edf5b7cb X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1638 Lines: 46 Commit-ID: 893c5d2279041afeb593f1fa8edd9d02edf5b7cb Gitweb: http://git.kernel.org/tip/893c5d2279041afeb593f1fa8edd9d02edf5b7cb Author: Morten Rasmussen AuthorDate: Fri, 14 Oct 2016 14:41:12 +0100 Committer: Ingo Molnar CommitDate: Wed, 16 Nov 2016 10:29:07 +0100 sched/fair: Fix incorrect comment for capacity_margin The comment for capacity_margin introduced in: 3273163c6775 ("sched/fair: Let asymmetric CPU configurations balance at wake-up") ... got its usage the wrong way round - fix it. Signed-off-by: Morten Rasmussen Signed-off-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: dietmar.eggemann@arm.com Cc: freedom.tan@mediatek.com Cc: keita.kobayashi.ym@renesas.com Cc: mgalbraith@suse.de Cc: sgurrappadi@nvidia.com Cc: vincent.guittot@linaro.org Cc: yuyang.du@intel.com Link: http://lkml.kernel.org/r/1476452472-24740-7-git-send-email-morten.rasmussen@arm.com Signed-off-by: Ingo Molnar --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index ee39bfd..5e6c00a 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -109,7 +109,7 @@ unsigned int sysctl_sched_cfs_bandwidth_slice = 5000UL; /* * The margin used when comparing utilization with CPU capacity: - * util * 1024 < capacity * margin + * util * margin < capacity * 1024 */ unsigned int capacity_margin = 1280; /* ~20% */