Commit 0b620bf6 authored by Zhao Wenhui's avatar Zhao Wenhui
Browse files

sched/fair: Introduce multiple qos level

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8S4JH



-------------------------------

Expand qos_level from {-1,0} to [-2, 2], to distinguish the tasks expected
to be with extremely high or low priority level. Using qos_level_weight
to reweight the shares when calculating group's weight. Meanwhile,
set offline task's schedule policy to SCHED_IDLE so that it can be
preempted at check_preempt_wakeup.

Signed-off-by: default avatarZhao Wenhui <zhaowenhui8@huawei.com>
parent 45c76c86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment