!41 sched: Introduce priority load balance for CFS
Merge Pull Request from: @zhangsong234 https://gitee.com/openeuler/kernel/issues/I5HF3M Add new sysctl interface: `/proc/sys/kernel/sched_prio_load_balance_enabled` 0: default behavior 1: enable priority load balance for qos scheduler For tasks co-location with qos scheduler, when CFS do load balance, it is reasonable to prefer migrating online(Latency Sensitive) tasks. So the CFS load balance can be changed to below: 1. `cfs_tasks` list is owned by online tasks. 2. Add new `cfs_offline_tasks` list which is owned by offline tasks. 3. Prefer to migrate the online tasks of `cfs_tasks` list to dst rq. Link:https://gitee.com/openeuler/kernel/pulls/41 Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录