Re: [RFC PATCHC 1/3] cpuidle: encapsulate power info in a separate structure

2014-03-28 Thread Nicolas Pitre
On Fri, 28 Mar 2014, Daniel Lezcano wrote: > Hi Nicolas, > > thanks for reviewing the patchset. > > On 03/28/2014 07:17 PM, Nicolas Pitre wrote: > > On Fri, 28 Mar 2014, Daniel Lezcano wrote: > > > >> The scheduler needs some information from cpuidle to know the timing for a > >> specific idle s

Re: [RFC PATCHC 1/3] cpuidle: encapsulate power info in a separate structure

2014-03-28 Thread Daniel Lezcano
Hi Nicolas, thanks for reviewing the patchset. On 03/28/2014 07:17 PM, Nicolas Pitre wrote: > On Fri, 28 Mar 2014, Daniel Lezcano wrote: > >> The scheduler needs some information from cpuidle to know the timing for a >> specific idle state a cpu is. >> >> This patch creates a separate structure t

Re: [RFC PATCHC 1/3] cpuidle: encapsulate power info in a separate structure

2014-03-28 Thread Nicolas Pitre
On Fri, 28 Mar 2014, Daniel Lezcano wrote: > The scheduler needs some information from cpuidle to know the timing for a > specific idle state a cpu is. > > This patch creates a separate structure to group the cpuidle power info in > order to share it with the scheduler. It improves the encapsulat

[RFC PATCHC 1/3] cpuidle: encapsulate power info in a separate structure

2014-03-28 Thread Daniel Lezcano
The scheduler needs some information from cpuidle to know the timing for a specific idle state a cpu is. This patch creates a separate structure to group the cpuidle power info in order to share it with the scheduler. It improves the encapsulation of the code. Signed-off-by: Daniel Lezcano ---