Messages in this thread | | | Date | Fri, 25 Mar 2011 23:31:57 +0530 | From | Vaidyanathan Srinivasan <> | Subject | Re: [RFC PATCH V4 5/5] cpuidle: cpuidle driver for apm |
| |
* Len Brown <lenb@kernel.org> [2011-03-25 03:24:24]:
> > > Maybe there is some other way to handle asymmetry ?? > > When somebody invents a system that needs asymmetry on purpose, > that is the time to get fancy. Until that day, simply print a > FW_BUG WARNING and fall back to default_idle().
We may print a warning but not switch to default_idle(). There could be laptops that gets an extra C-State when run on battery. So when the ACPI _PPC event happens for the C-State change, we need to handle the situation such that the states are refreshed for all CPUs in one step.
Basically while we are updating the new C-State, the framework should not detect this as asymmetric and switch to default_idle(). Please fell free to suggest a more elegant solution to handle the runtime C-State change event, though symmetric across all CPUs.
--Vaidy
| |