On 14-11-16, 09:36, Viresh Kumar wrote:
> On 13-11-16, 15:46, Rafael J. Wysocki wrote:
> > That's only going to happen in the next patch, though, right? It
> > wouldn't hurt to write that in the changelog too.
>
> Sure.
>
> > Besides, I'm not actually sure if starting/stopping the kthread in
>
On 14-11-16, 09:36, Viresh Kumar wrote:
> On 13-11-16, 15:46, Rafael J. Wysocki wrote:
> > That's only going to happen in the next patch, though, right? It
> > wouldn't hurt to write that in the changelog too.
>
> Sure.
>
> > Besides, I'm not actually sure if starting/stopping the kthread in
>
On 13-11-16, 15:46, Rafael J. Wysocki wrote:
> That's only going to happen in the next patch, though, right? It
> wouldn't hurt to write that in the changelog too.
Sure.
> Besides, I'm not actually sure if starting/stopping the kthread in
> sugov_policy_alloc/free() is a good idea. It sort of
On 13-11-16, 15:46, Rafael J. Wysocki wrote:
> That's only going to happen in the next patch, though, right? It
> wouldn't hurt to write that in the changelog too.
Sure.
> Besides, I'm not actually sure if starting/stopping the kthread in
> sugov_policy_alloc/free() is a good idea. It sort of
On Sat, Nov 12, 2016 at 6:19 AM, Viresh Kumar wrote:
> On 12 November 2016 at 03:28, Rafael J. Wysocki wrote:
>
>>> @@ -478,8 +484,6 @@ static void sugov_exit(struct cpufreq_policy *policy)
>>> struct sugov_tunables *tunables =
On Sat, Nov 12, 2016 at 6:19 AM, Viresh Kumar wrote:
> On 12 November 2016 at 03:28, Rafael J. Wysocki wrote:
>
>>> @@ -478,8 +484,6 @@ static void sugov_exit(struct cpufreq_policy *policy)
>>> struct sugov_tunables *tunables = sg_policy->tunables;
>>> unsigned int count;
>>>
>>>
On 12 November 2016 at 03:28, Rafael J. Wysocki wrote:
>> @@ -478,8 +484,6 @@ static void sugov_exit(struct cpufreq_policy *policy)
>> struct sugov_tunables *tunables = sg_policy->tunables;
>> unsigned int count;
>>
>> -
On 12 November 2016 at 03:28, Rafael J. Wysocki wrote:
>> @@ -478,8 +484,6 @@ static void sugov_exit(struct cpufreq_policy *policy)
>> struct sugov_tunables *tunables = sg_policy->tunables;
>> unsigned int count;
>>
>> - cpufreq_disable_fast_switch(policy);
>> -
>
> ->but
On Fri, Nov 11, 2016 at 10:52:27PM +0100, Rafael J. Wysocki wrote:
> On Fri, Nov 11, 2016 at 3:19 PM, Peter Zijlstra wrote:
> > On Fri, Nov 11, 2016 at 03:52:21PM +0530, Viresh Kumar wrote:
> >> @@ -456,8 +460,6 @@ static int sugov_init(struct cpufreq_policy *policy)
> >>
>
On Fri, Nov 11, 2016 at 10:52:27PM +0100, Rafael J. Wysocki wrote:
> On Fri, Nov 11, 2016 at 3:19 PM, Peter Zijlstra wrote:
> > On Fri, Nov 11, 2016 at 03:52:21PM +0530, Viresh Kumar wrote:
> >> @@ -456,8 +460,6 @@ static int sugov_init(struct cpufreq_policy *policy)
> >>
> >> out:
> >>
On Fri, Nov 11, 2016 at 11:22 AM, Viresh Kumar wrote:
> The fast_switch_enabled flag will be used a bit earlier while converting
> the schedutil governor to use kthread worker.
>
> Prepare for that by moving the call to enable it to the beginning of
> sugov_init().
Fair
On Fri, Nov 11, 2016 at 11:22 AM, Viresh Kumar wrote:
> The fast_switch_enabled flag will be used a bit earlier while converting
> the schedutil governor to use kthread worker.
>
> Prepare for that by moving the call to enable it to the beginning of
> sugov_init().
Fair enough ->
>
On Fri, Nov 11, 2016 at 3:19 PM, Peter Zijlstra wrote:
> On Fri, Nov 11, 2016 at 03:52:21PM +0530, Viresh Kumar wrote:
>> @@ -456,8 +460,6 @@ static int sugov_init(struct cpufreq_policy *policy)
>>
>> out:
>> mutex_unlock(_tunables_lock);
>> -
>> -
On Fri, Nov 11, 2016 at 3:19 PM, Peter Zijlstra wrote:
> On Fri, Nov 11, 2016 at 03:52:21PM +0530, Viresh Kumar wrote:
>> @@ -456,8 +460,6 @@ static int sugov_init(struct cpufreq_policy *policy)
>>
>> out:
>> mutex_unlock(_tunables_lock);
>> -
>> - cpufreq_enable_fast_switch(policy);
On Fri, Nov 11, 2016 at 03:52:21PM +0530, Viresh Kumar wrote:
> @@ -456,8 +460,6 @@ static int sugov_init(struct cpufreq_policy *policy)
>
> out:
> mutex_unlock(_tunables_lock);
> -
> - cpufreq_enable_fast_switch(policy);
> return 0;
>
> fail:
> @@ -468,6 +470,10 @@ static
On Fri, Nov 11, 2016 at 03:52:21PM +0530, Viresh Kumar wrote:
> @@ -456,8 +460,6 @@ static int sugov_init(struct cpufreq_policy *policy)
>
> out:
> mutex_unlock(_tunables_lock);
> -
> - cpufreq_enable_fast_switch(policy);
> return 0;
>
> fail:
> @@ -468,6 +470,10 @@ static
The fast_switch_enabled flag will be used a bit earlier while converting
the schedutil governor to use kthread worker.
Prepare for that by moving the call to enable it to the beginning of
sugov_init().
Signed-off-by: Viresh Kumar
---
kernel/sched/cpufreq_schedutil.c |
The fast_switch_enabled flag will be used a bit earlier while converting
the schedutil governor to use kthread worker.
Prepare for that by moving the call to enable it to the beginning of
sugov_init().
Signed-off-by: Viresh Kumar
---
kernel/sched/cpufreq_schedutil.c | 17 +++--
1
18 matches
Mail list logo