[Suspend2-devel] FullSpeedCPU does not consider sibling CPUs

Pat Double pat at patdouble.com
Fri Jul 14 16:15:45 UTC 2006


The new FullSpeedCPU support in the hibernate script does not consider sibling 
CPUs. It changes the min freq for each CPU and then restores. The problem 
with siblings is that setting the min to max on the first also does on the 
second. So when the script hits the second CPU it gets the min value, which 
is actually the max. On resume it restores the first CPU correctly, but the 
second gets set to the max, so therefore both do.

Does this make sense?

In any case, the affected_cpus file in the cpufreq/ directory could be used to 
detect this, but I patched hardware_tweaks to ignore a CPU in which the min 
and max freq are the same.

-- 
Pat Double, pat at patdouble.com
"In the beginning God created the heaven and the earth."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hardware_tweaks.patch
Type: text/x-diff
Size: 515 bytes
Desc: not available
URL: <http://lists.tuxonice.net/pipermail/tuxonice-devel/attachments/20060714/167347c7/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.tuxonice.net/pipermail/tuxonice-devel/attachments/20060714/167347c7/attachment.pgp>


More information about the TuxOnIce-devel mailing list