[v8 PATCH 2/8]: cpuidle: implement a list based approach to register a set of idle routines.

Andi Kleen andi at firstfloor.org
Wed Oct 14 18:18:38 EST 2009


> How about something like this..
> If the arch does not enable CONFIG_CPU_IDLE, the cpuidle_idle_call
> which is called from cpu_idle() should call default_idle without
> involving the registering cpuidle steps. This should prevent bloating
> up of the kernel for archs which dont want to use cpuidle.

On x86 some people want small kernel too, so selecting it on a architecture
granuality is not good. Also you can make it default, you just need
to slim it down first.

-Andi

-- 
ak at linux.intel.com -- Speaking for myself only.


More information about the Linuxppc-dev mailing list