Re: [RFC PATCH 2/3] sched: Introduce Window-Assisted CPU utilization Tracking
From: Peter Zijlstra
Date: Fri Oct 28 2016 - 03:38:11 EST
On Fri, Oct 28, 2016 at 12:10:41AM -0700, Vikram Mulukutla wrote:
> +static int cpu_is_waiting_on_io(struct rq *rq)
> +{
> + if (!walt_io_is_busy)
> + return 0;
> +
> + return atomic_read(&rq->nr_iowait);
> +}
This is just drug induced nonsense. The per-cpu nr_iowait number is
completely without meaning.