Re: [PATCH 1/2] cpufreq: Make iowait boost a policy option

From: Joel Fernandes
Date: Thu May 18 2017 - 21:42:07 EST


On Thu, May 18, 2017 at 6:03 PM, Rafael J. Wysocki <rafael@xxxxxxxxxx> wrote:
[..]
>> diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
>> index a5ce0bbeadb5..4bb086dbe7ec 100644
>> --- a/include/linux/cpufreq.h
>> +++ b/include/linux/cpufreq.h
>> @@ -127,6 +127,9 @@ struct cpufreq_policy {
>> */
>> unsigned int transition_delay_us;
>>
>> + /* Boost switch for tasks with p->in_iowait set */
>> + unsigned int iowait_boost_enable;
>
> Could that be a bool field?

Yes that would be better, will do.

thanks,

-Joel