All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: topology: Fix minor typo in comment
@ 2017-11-05 13:16 Yang Yooseok
  0 siblings, 0 replies; only message in thread
From: Yang Yooseok @ 2017-11-05 13:16 UTC (permalink / raw)
  To: linux-arm-kernel

The middle efficiency should be an average of two efficiency values, so
the fomula in comment is modified.

Signed-off-by: Yang Yooseok <ileixe@gmail.com>
---
 arch/arm/kernel/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index 24ac3cab411d..d8a4619c86b8 100644
--- a/arch/arm/kernel/topology.c
+++ b/arch/arm/kernel/topology.c
@@ -77,7 +77,7 @@ static bool cap_from_dt = true;
 /*
  * Iterate all CPUs' descriptor in DT and compute the efficiency
  * (as per table_efficiency). Also calculate a middle efficiency
- * as close as possible to  (max{eff_i} - min{eff_i}) / 2
+ * as close as possible to  (max{eff_i} + min{eff_i}) / 2
  * This is later used to scale the cpu_capacity field such that an
  * 'average' CPU is of middle capacity. Also see the comments near
  * table_efficiency[] and update_cpu_capacity().
-- 
2.13.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-05 13:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-05 13:16 [PATCH] ARM: topology: Fix minor typo in comment Yang Yooseok

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.