Re: [linux-pm] [PATCH] PowerOP, PowerOP Core, 1/2

From: Eugeny S. Mints
Date: Mon Sep 18 2006 - 15:57:55 EST


Eugeny S. Mints wrote:
Pavel Machek wrote:
Hi!

[skip]
How is it going to work on 8cpu box? will
you have states like cpu1_800MHz_cpu2_1600MHz_cpu3_800MHz_... ?

basically I guess you are asking about what the names of operating points are and how to distinguish between operating points from userspace on 8cpu box.

An advantage of PowerOP approach is that operating point name is used as a _handle_ and may or may not be meaningful. The idea is that if a policy manager needs to make a decision and needs to distinguish between operating points it can check value of any power parameters of operating points in question. Power parameter values may be obtained under <op_name> dir name.

With such approach a policy manger may compare operating points at runtime and should not rely on compile time knowledge about what name corresponds to what set of power parameter values. It uses name as a handle.

Eugeny

i do not operate with term 'state' so I don't understand what it means here.

Eugeny

Pavel



-
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/