[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0icpNoW3SFxvsj5bSo9MnH3cvthece1bMVJRHm7i8HhAw@mail.gmail.com>
Date: Thu, 18 Feb 2016 20:57:17 +0100
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>,
Nicolas Pitre <nicolas.pitre@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Vincent Guittot <vincent.guittot@...aro.org>
Subject: Re: [PATCH V3 2/2] sched: idle: IRQ based next prediction for idle period
On Thu, Feb 18, 2016 at 11:25 AM, Daniel Lezcano
<daniel.lezcano@...aro.org> wrote:
> On 02/17/2016 11:21 PM, Rafael J. Wysocki wrote:
>
> [ ... ]
>
>>>> Reviewed-by: Nicolas Pitre <nico@...aro.org>
>>>
>>>
>>> Well, I'm likely overlooking something, but how is this going to be
>>> hooked up to the code in idle.c?
>>
>>
>> My somewhat educated guess is that sched_idle() in your patch is
>> intended to replace cpuidle_idle_call(), right?
>
>
> Well, no. I was planning to first have it to use a different code path as
> experimental code in order to focus improving the accuracy of the prediction
> and then merge or replace cpuidle_idle_call() with sched_idle().
In that case, what about making it a proper cpuidle governor that
people can test and play with in a usual way? Then it may potentially
benefit everybody and not just your experimental setup and you may get
coverage on systems you have no access to normally.
There is some boilerplate code to add for this purpose, but that's not
that bad IMO.
>
>> If so, why do you want to replace it?
>>
So I'm still unsure why you want to replace cpuidle_idle_call() with
sched_idle(). Is there anything wrong with it that it needs to be
replaced?
Thanks,
Rafael
Powered by blists - more mailing lists