Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1188705 > unrolled thread

Re: [RFCv5 PATCH 27/46] sched, cpuidle: Track cpuidle state index in the scheduler

Started byLeo Yan <leo.yan@linaro.org>
First post2015-07-21 08:50 +0200
Last post2015-07-21 08:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFCv5 PATCH 27/46] sched, cpuidle: Track cpuidle state index in  the scheduler Leo Yan <leo.yan@linaro.org> - 2015-07-21 08:50 +0200

#1188705 — Re: [RFCv5 PATCH 27/46] sched, cpuidle: Track cpuidle state index in the scheduler

FromLeo Yan <leo.yan@linaro.org>
Date2015-07-21 08:50 +0200
SubjectRe: [RFCv5 PATCH 27/46] sched, cpuidle: Track cpuidle state index in the scheduler
Message-ID<pOzxf-y4-5@gated-at.bofh.it>
Hi Morten,

On Tue, Jul 07, 2015 at 07:24:10PM +0100, Morten Rasmussen wrote:
> The idle-state of each cpu is currently pointed to by rq->idle_state but
> there isn't any information in the struct cpuidle_state that can used to
> look up the idle-state energy model data stored in struct
> sched_group_energy. For this purpose is necessary to store the idle
> state index as well. Ideally, the idle-state data should be unified.
> 
> cc: Ingo Molnar <mingo@redhat.com>
> cc: Peter Zijlstra <peterz@infradead.org>
> 
> Signed-off-by: Morten Rasmussen <morten.rasmussen@arm.com>

This patch should re-base with latest kernel; otherwise it will have
conflict with below commits:

827a5ae sched / idle: Call default_idle_call() from cpuidle_enter_state()
faad384 sched / idle: Call idle_set_state() from cpuidle_enter_state()
bcf6ad8 sched / idle: Eliminate the "reflect" check from cpuidle_idle_call()
82f6632 sched / idle: Move the default idle call code to a separate function

Thanks,
Leo Yan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web