mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
rockchip: hmp: adjust hmp_up/down_threshold
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user