Re: [PATCH 3/3] intel_idle: set the state_tables array as __initdata to save mem

2013-03-08 Thread Daniel Lezcano
On 03/08/2013 04:06 PM, Chuansheng Liu wrote: > > Currently, in intel_idle.c, there are 5 state_tables array, every > array size is sizeof(struct cpuidle_state) * CPUIDLE_STATE_MAX. > > As in intel_idle_cpuidle_driver_init(), we have copied the data into > intel_idle_driver->state[], so do not ne

[PATCH 3/3] intel_idle: set the state_tables array as __initdata to save mem

2013-03-07 Thread Chuansheng Liu
Currently, in intel_idle.c, there are 5 state_tables array, every array size is sizeof(struct cpuidle_state) * CPUIDLE_STATE_MAX. As in intel_idle_cpuidle_driver_init(), we have copied the data into intel_idle_driver->state[], so do not need to keep state_tables[] there any more after system init