CPU C-state storange on Panasonic TOUGH BOOK CF-R9

Andriy Gapon avg at freebsd.org
Tue Sep 14 08:57:45 UTC 2010


on 14/09/2010 11:44 Andriy Gapon said the following:
> on 13/09/2010 20:07 Andriy Gapon said the following:
>> I am also going to take a look how Linux and OpenSolaris name the C-states.
> 
> Well, Linux does what you suggested, it uses index of a C-state as its name.
> There is one difference from our current code - if a C-state is skipped for some
> reason, then its index is not re-used, but the entry is marked as non-valid.
> So, if we skip "C2" for some reason, then "C3" will become "C2".  Not so on Linux.
> Also, they print a type/class of a C state using C1, C2, C3 and "--" for
> higher/unknown types.

OpenSolaris, on the other hand, collapses multiple entries of the same type into
a single entry using the most power-saving alternative.
They also use the type as a C state reported name, index is not used in interfacing.

So, hm, talk about confusing again :)

-- 
Andriy Gapon


More information about the freebsd-acpi mailing list