rockchip: hmp: adjust hmp_up/down_threshold

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
Huang, Tao
2015-05-18 17:25:12 +08:00
parent 33df9dc9ce
commit 55c23da59b

View File

@@ -3810,8 +3810,13 @@ static struct sched_entity *hmp_get_lightest_task(
* hmp_packing_enabled: runtime control over pack/spread
* hmp_full_threshold: Consider a CPU with this much unweighted load full
*/
#ifdef CONFIG_ARCH_ROCKCHIP
unsigned int hmp_up_threshold = 479;
unsigned int hmp_down_threshold = 214;
#else
unsigned int hmp_up_threshold = 700;
unsigned int hmp_down_threshold = 512;
#endif
#ifdef CONFIG_SCHED_HMP_PRIO_FILTER
unsigned int hmp_up_prio = NICE_TO_PRIO(CONFIG_SCHED_HMP_PRIO_FILTER_VAL);
#endif