you ALWAYS have at least 2 idle handling states. The platform idleSome special overrides like idle=poll should handle this case even if
one and the generic busy waiting one.
the later is needed for "I want absolutely 0 latency" cases.
cpuidle and related registration mechanism is compiled out. The point
is that we need some flexibility even if the full framework is not
included.
Ok, you are suggesting that for x86 lets move cpuidle in kernelMaking current cpuidle as default in kernelnot "in the kernel" but "for x86".
You're solving an x86 problem here, right?
(the pm_idle is an x86 only problem. other architectures should be
able to keep doing what they are doing)
For x86, lets solve it by going to cpuidle period... and if Andi can
find some bloat in cpuidle, lets see if the fat can be trimmed.
always, while it can be an optional module for other archs as it
stands today. We can slim down the cpuidle from current 7K or atleast
split some parts like governors as modules if needed.
framework and call it from their kernel/idle routines so that we need
not have a hierarchy of idle routines there.