Re: [RFC PATCH V4 5/5] cpuidle: cpuidle driver for apm

From: Vaidyanathan Srinivasan
Date: Fri Mar 25 2011 - 14:02:15 EST


* Len Brown <lenb@xxxxxxxxxx> [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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/