v8: 处理了下格式问题,调度部分小有修改。
v7: 修复了commit message拼词错误和补丁格式问题。
v6: 自动模式下逃逸改为禁止,当前环境测试,功能OK,收益OK, 直接使用根分组收益较小建议新建分组,建议使用mask屏蔽level0。
v5: 调度部分已完成评审完成代码修改,逃逸部分仍然使用pelt. 内存策略调整模块已经按照review已将进行修改.
v4: fix KABI add 'cpu.affinity_domain_mask' add some statistics
v3: 修改了patchwork错误,但是KABI还有个问题待解决。
v2: formal version 1.
Hui Tang (1): sched: Introduce smart grid scheduling strategy for cfs
Wang ShaoBo (1): sched: smart grid: init sched_grid_qos structure on QOS purpose
fs/proc/array.c | 13 + include/linux/sched.h | 18 ++ include/linux/sched/grid_qos.h | 92 +++++++ include/linux/sched/sysctl.h | 4 + init/Kconfig | 13 + kernel/fork.c | 9 + kernel/sched/Makefile | 1 + kernel/sched/core.c | 147 +++++++++++ kernel/sched/fair.c | 437 ++++++++++++++++++++++++++++++++- kernel/sched/grid/Makefile | 2 + kernel/sched/grid/internal.h | 6 + kernel/sched/grid/power.c | 27 ++ kernel/sched/grid/qos.c | 143 +++++++++++ kernel/sched/grid/stat.c | 32 +++ kernel/sched/sched.h | 50 ++++ kernel/sysctl.c | 9 + mm/mempolicy.c | 12 +- 17 files changed, 1012 insertions(+), 3 deletions(-) create mode 100644 include/linux/sched/grid_qos.h create mode 100644 kernel/sched/grid/Makefile create mode 100644 kernel/sched/grid/internal.h create mode 100644 kernel/sched/grid/power.c create mode 100644 kernel/sched/grid/qos.c create mode 100644 kernel/sched/grid/stat.c