cpu frequency 资料

0 views
Skip to first unread message

XingChao Wang

unread,
Dec 25, 2009, 2:27:37 AM12/25/09
to borqs-kernel
一直对policy/governor的关系有点儿模糊   
重看doc,下图:

Basically, it's the following flow graph:

CPU can be set to switch independently |   CPU can only be set
      within specific "limits" |       to specific frequencies

                                 "CPUfreq policy"
consists of frequency limits (policy->{min,max})
       and CPUfreq governor to be used
/      \
/       \
      /       the cpufreq governor decides
     /       (dynamically or statically)
    /       what target_freq to set within
   /       the limits of policy->{min,max}
  /            \
 /     \
Using the ->setpolicy call, Using the ->target call,
   the limits and the  the frequency closest
    "policy" is set.  to target_freq is set.
 It is assured that it
 is within policy->{min,max}

1. policy是per-cpu

thanks
--wang xingchao
Reply all
Reply to author
Forward
0 new messages