Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753310AbdHNNRP (ORCPT ); Mon, 14 Aug 2017 09:17:15 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:49106 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753193AbdHNNRO (ORCPT ); Mon, 14 Aug 2017 09:17:14 -0400 Date: Mon, 14 Aug 2017 14:16:49 +0100 From: Russell King - ARM Linux To: Dietmar Eggemann Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Greg Kroah-Hartman , Catalin Marinas , Will Deacon , Juri Lelli , Vincent Guittot , Peter Zijlstra , Morten Rasmussen , Viresh Kumar , "Rafael J . Wysocki" , Sudeep Holla Subject: Re: [PATCH v3 08/10] arm: wire cpu-invariant accounting support up to the task scheduler Message-ID: <20170814131649.GI20805@n2100.armlinux.org.uk> References: <20170727193312.9849-1-dietmar.eggemann@arm.com> <20170727193312.9849-9-dietmar.eggemann@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170727193312.9849-9-dietmar.eggemann@arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1101 Lines: 24 On Thu, Jul 27, 2017 at 08:33:10PM +0100, Dietmar Eggemann wrote: > Commit 8cd5601c5060 ("sched/fair: Convert arch_scale_cpu_capacity() from > weak function to #define") changed the wiring which now has to be done > by associating arch_scale_cpu_capacity with the actual implementation > provided by the architecture. > > Define arch_scale_cpu_capacity to use the arch_topology "driver" > function topology_get_cpu_scale() for the task scheduler's cpu-invariant > accounting instead of the default arch_scale_cpu_capacity() in > kernel/sched/sched.h. > > Cc: Russell King > Cc: Juri Lelli > Signed-off-by: Dietmar Eggemann > Acked-by: Vincent Guittot > Tested-by: Juri Lelli > Reviewed-by: Juri Lelli Acked-by: Russell King -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up According to speedtest.net: 8.21Mbps down 510kbps up