rockchip: hmp: adjust hmp_up/down_threshold
authorHuang, Tao <huangtao@rock-chips.com>
Mon, 18 May 2015 09:25:12 +0000 (17:25 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 18 May 2015 09:25:12 +0000 (17:25 +0800)
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
kernel/sched/fair.c

index 1baf6413a8826728e05c5e1f29c04571b35da29c..43f6a12564ef05f7676aee2aa80ca1aa25f72791 100644 (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