On Tue, Mar 21, 2017 at 04:18:52PM +0100, Rafael J. Wysocki wrote:
> +static bool sugov_cpu_is_busy(struct sugov_cpu *sg_cpu)
> +{
> +     unsigned long idle_calls = tick_nohz_get_idle_calls();
> +     bool not_idle = idle_calls == sg_cpu->saved_idle_calls;
> +
> +     sg_cpu->saved_idle_calls = idle_calls;
> +     return not_idle && this_rq()->rd->overload;
> +}

So I really don't understand the rd->overload thing. What is it supposed
to do here?

Reply via email to