introduce smart grid scheduler.
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 | 84 +++++++ 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 | 425 ++++++++++++++++++++++++++++++++- kernel/sched/grid/Makefile | 2 + kernel/sched/grid/internal.h | 6 + kernel/sched/grid/power.c | 10 + kernel/sched/grid/qos.c | 125 ++++++++++ kernel/sched/grid/stat.c | 15 ++ kernel/sched/sched.h | 50 ++++ kernel/sysctl.c | 9 + mm/mempolicy.c | 12 +- 17 files changed, 940 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