Re: [linux-pm] [PATCH] cpuidle : use percpu cpuidle in the core code

2012-05-30 Thread Rob Lee
Hey Daniel, Sorry for the late review/response but perhaps this will still be useful as your cpuidle work is ongoing. Most of the caller are in the boot-up code, in device_init or module_init. The other ones are doing some specific initialization on the cpuidle_device (cpuinit, like acpi) and

Re: [linux-pm] [PATCH] cpuidle : use percpu cpuidle in the core code

2012-03-31 Thread Srivatsa S. Bhat
On 03/30/2012 09:48 PM, Daniel Lezcano wrote: On 03/30/2012 01:59 PM, Srivatsa S. Bhat wrote: On 03/30/2012 05:15 PM, Daniel Lezcano wrote: On 03/30/2012 01:25 PM, Srivatsa S. Bhat wrote: On 03/30/2012 04:18 PM, Daniel Lezcano wrote: The usual cpuidle initialization routines are to

Re: [linux-pm] [PATCH] cpuidle : use percpu cpuidle in the core code

2012-03-30 Thread Daniel Lezcano
On 03/30/2012 01:25 PM, Srivatsa S. Bhat wrote: On 03/30/2012 04:18 PM, Daniel Lezcano wrote: The usual cpuidle initialization routines are to register the driver, then register a cpuidle device per cpu. With the device's state count default initialization with the driver's state count, the

Re: [linux-pm] [PATCH] cpuidle : use percpu cpuidle in the core code

2012-03-30 Thread Srivatsa S. Bhat
On 03/30/2012 04:18 PM, Daniel Lezcano wrote: The usual cpuidle initialization routines are to register the driver, then register a cpuidle device per cpu. With the device's state count default initialization with the driver's state count, the code initialization remains mostly the same in

Re: [linux-pm] [PATCH] cpuidle : use percpu cpuidle in the core code

2012-03-30 Thread Daniel Lezcano
On 03/30/2012 01:59 PM, Srivatsa S. Bhat wrote: On 03/30/2012 05:15 PM, Daniel Lezcano wrote: On 03/30/2012 01:25 PM, Srivatsa S. Bhat wrote: On 03/30/2012 04:18 PM, Daniel Lezcano wrote: The usual cpuidle initialization routines are to register the driver, then register a cpuidle device