Re: [RFC PATCH v4 08/12] sched: Add over-utilization/tipping point indicator

From: Valentin Schneider
Date: Fri Jul 06 2018 - 07:49:41 EST


On 06/07/18 12:41, Peter Zijlstra wrote:
> On Thu, Jun 28, 2018 at 12:40:39PM +0100, Quentin Perret wrote:
>> @@ -698,6 +698,9 @@ struct root_domain {
>> /* Indicate more than one runnable task for any CPU */
>> bool overload;
>
> While there, make that an int.

That's what I've done at [1] - I guess that's the fun part of having those
two patch sets in flight at the same time...

[1]: https://lore.kernel.org/lkml/1530699470-29808-8-git-send-email-morten.rasmussen@xxxxxxx/

>
>> + /* Indicate one or more cpus over-utilized (tipping point) */
>> + int overutilized;
>> +
>> /*
>> * The bit corresponding to a CPU gets set here if such CPU has more
>> * than one runnable -deadline task (as it is below for RT tasks).
>> --
>> 2.17.1
>>