Re: [RFC PATCH 3/3] idle: store the idle state index in the struct rq
From: Peter Zijlstra
Date: Thu Jan 30 2014 - 10:32:07 EST
On Thu, Jan 30, 2014 at 03:09:22PM +0100, Daniel Lezcano wrote:
> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
> index 90aef084..130debf 100644
> --- a/kernel/sched/sched.h
> +++ b/kernel/sched/sched.h
> @@ -654,6 +654,9 @@ struct rq {
> #endif
>
> struct sched_avg avg;
> +#ifdef CONFIG_CPU_IDLE
> + int idle_index;
> +#endif
> };
So my 'problem' with this is that I've no ff'ing clue what the
idle_index is and what I can do with it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/