Re: [RFCv3 PATCH 36/48] sched: Count number of shallower idle-states in struct sched_group_energy

From: Peter Zijlstra
Date: Tue Mar 24 2015 - 09:14:52 EST


On Wed, Feb 04, 2015 at 06:31:13PM +0000, Morten Rasmussen wrote:
> cpuidle associates all idle-states with each cpu while the energy model
> associates them with the sched_group covering the cpus coordinating
> entry to the idle-state. To get idle-state power consumption it is
> therefore necessary to translate from cpuidle idle-state index to energy
> model index. For this purpose it is helpful to know how many idle-states
> that are listed in lower level sched_groups (in struct
> sched_group_energy).

I think this could use some text to describe how that number is useful.

I suspect is has something to do with bigger domains having more idle
modes (package C states etc..).
--
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/