Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755975AbcCCDuJ (ORCPT ); Wed, 2 Mar 2016 22:50:09 -0500 Received: from mail-pf0-f176.google.com ([209.85.192.176]:33356 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754809AbcCCDuH (ORCPT ); Wed, 2 Mar 2016 22:50:07 -0500 Subject: Re: [RFCv7 PATCH 03/10] sched: scheduler-driven cpu frequency selection To: "Rafael J. Wysocki" , Michael Turquette , Peter Zijlstra , Ingo Molnar 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> Cc: "Rafael J. Wysocki" , Linux Kernel Mailing List , "linux-pm@vger.kernel.org" , Vincent Guittot , Morten Rasmussen , Dietmar Eggemann , Juri Lelli , Patrick Bellasi , Ricky Liang From: Steve Muckle X-Enigmail-Draft-Status: N1110 Message-ID: <56D7B46B.9070508@linaro.org> Date: Wed, 2 Mar 2016 19:50:03 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 436 Lines: 14 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. thanks, Steve