On 07/30/09 09:29, Len Brown wrote: > Unclear that the power management partitioning between xen hypervisor > and dom0 is fully baked. > > Uncear (to me) what xen is doing internally with these power management > objects, and how that differs from what Linux would do. > Yes. The key thing is that Xen is the only entity which really knows about physical CPUs and how they're being used, and so is the only thing which can correctly apply the chosen policy. If any particular guest domain did it, it would only take into account that particular domain's CPU use, and ignore everyone else (or have the extra complexity of extracting system-wide usage from Xen then applying that to its own policy). If I understand correctly, the code currently relies on Linux running the _PSD method with its AML interpreter, and then feeding the results to Xen as it doesn't have an AML interpreter. And putting AML into Xen would be an all-or-nothing proposition, because the entity which runs AML maintains a lot of state which can't be separated between Xen and Linux, and can't be shared. J -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html