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

From: Peter Zijlstra
Date: Fri Jul 06 2018 - 07:42:46 EST


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.

> + /* 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
>