Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757315AbcCCJdx (ORCPT ); Thu, 3 Mar 2016 04:33:53 -0500 Received: from foss.arm.com ([217.140.101.70]:35475 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756727AbcCCJdv (ORCPT ); Thu, 3 Mar 2016 04:33:51 -0500 Date: Thu, 3 Mar 2016 09:34:54 +0000 From: Juri Lelli To: Steve Muckle Cc: "Rafael J. Wysocki" , Michael Turquette , Peter Zijlstra , Ingo Molnar , "Rafael J. Wysocki" , Linux Kernel Mailing List , "linux-pm@vger.kernel.org" , Vincent Guittot , Morten Rasmussen , Dietmar Eggemann , Patrick Bellasi , Ricky Liang Subject: Re: [RFCv7 PATCH 03/10] sched: scheduler-driven cpu frequency selection Message-ID: <20160303093454.GS18792@e106622-lin> References: <1456190570-4475-1-git-send-email-smuckle@linaro.org> <1456190570-4475-4-git-send-email-smuckle@linaro.org> <8427745.Y8N2bqC3SO@vostro.rjw.lan> <56CF9D8F.7010607@linaro.org> <20160302074910.10178.35029@quark.deferred.io> <56D7B46B.9070508@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56D7B46B.9070508@linaro.org> 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 Content-Length: 598 Lines: 20 On 02/03/16 19:50, Steve Muckle wrote: > On 03/02/2016 06:49 PM, Rafael J. Wysocki wrote: > > I'm not actually sure if RT is the right answer here. DL may be a > > better choice. After all, we want the thing to happen shortly, but > > not necessarily at full speed. > > > > So something like a DL workqueue would be quite useful here it seems. > > The DL idea seems like a good one to me. > > It would also prevent cpufreq changes from being delayed by other RT or > DL tasks. > Dimensioning period and runtime could require some experimenting, but it's worth a try, I agree. Best, - Juri