summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorSrivatsa Vaddagiri <vatsa@codeaurora.org>2014-04-01 10:57:59 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:58:57 -0700
commita7103955a7117c9cba07cb72d93b240c820389ba (patch)
treecdfeaa2490c28f1a7fd0d330685aefc58384fa77 /scripts/basic
parent1559954841742c23213ad5995a7df16c7eab4381 (diff)
sched: Add min_max_freq and rq->max_possible_freq
rq->max_possible_freq represents the maximum frequency a cpu is capable of attaining, while rq->max_freq represents the maximum frequency a cpu can attain at a given instant. rq->max_freq includes constraints imposed by user or thermal driver. rq->max_freq <= rq->max_possible_freq. max_possible_freq is derived as max(rq->max_possible_freq) and represents the "best" cpu that can attain best possible frequency. min_max_freq is derived as min(rq->max_possible_freq). For homogeneous systems, max_possible_freq and min_max_freq will be same, while they could be different on heterogeneous systems. Change-Id: Iec485fde35cfd33f55ebf2c2dce4864faa2083c5 Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org> [joonwoop@codeaurora.org: fixed conflict around max_possible_freq.] Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions