Messages in this thread | | | From | Yuyang Du <> | Subject | [PATCH v2 0/6] sched/fair: Clean up sched metric definitions | Date | Thu, 22 Oct 2015 07:24:42 +0800 |
| |
Hi Peter and Ingo,
As discussed recently, the sched metrics need a little bit cleanup. This series of patches attempt to do that: refactor, rename, remove...
Thanks a lot to Ben, Morten, Dietmar, Vincent, and others who provided valuable comments.
v2 changes: - Rename SCHED_RESOLUTION_SHIFT to SCHED_FIXEDPOINT_SHIFT, thanks to Peter - Fix bugs in calculate_imbalance(), thanks to Vincent - Fix "#if 0" for increased kernel load
Thanks, Yuyang
Yuyang Du (6): sched/fair: Generalize the load/util averages resolution definition sched/fair: Remove SCHED_LOAD_SHIFT and SCHED_LOAD_SCALE sched/fair: Add introduction to the sched load avg metrics sched/fair: Remove scale_load_down() for load_avg sched/fair: Rename scale_load() and scale_load_down() sched/fair: Remove unconditionally inactive code
include/linux/sched.h | 81 +++++++++++++++++++++++++++++++++++++++++++-------- init/Kconfig | 16 ++++++++++ kernel/sched/core.c | 8 ++--- kernel/sched/fair.c | 33 ++++++++++----------- kernel/sched/sched.h | 52 +++++++++++++++------------------ 5 files changed, 127 insertions(+), 63 deletions(-)
-- 2.1.4
| |