aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorVincent Guittot <vincent.guittot@linaro.org>2013-06-21 13:39:37 +0200
committerVincent Guittot <vincent.guittot@linaro.org>2013-10-17 22:11:00 +0200
commit6fc4cbb8fdc7401d7f0774245d856c02f77d6380 (patch)
treebc383dfd39eecae388879ca598569f4174123575 /crypto
parentfb35cd579c403a28c08b819a2b9989e0c6c4c2db (diff)
sched: update the packing cpu list
Use the activity statistics to update the list of CPUs that should be used to hanlde the current system activity. The cpu_power is updated for CPUs that don't participate to the packing effort. We consider that their cpu_power is allocated to idleness as it could be allocated by rt. So the cpu_power that remains available for cfs, is set to min value (i.e. 1). The cpu_power is used for a task that wakes up because a waking up task is already taken into account in the current activity whereas we use the power_available for a fork and exec because the task is not part of the current activity. In order to quickly found the packing starting point, we save information that will be used to directly start with the right sched_group at the right sched_domain level instead of running the complete update_packing_domain algorithm each time we need to use the packing cpu list. The sd_power_leader defines the leader of a group of CPU that can't be powergated independantly. As soon as this CPU is used, all the CPU in the same group will be used based on the fact that it doesn't worth to keep some cores idle if they can't be power gated while one core in the group is running. The sd_pack_group and sd_pack_domain are used to quickly check if a power leader should be used in the packing effort Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions