lkml.org 
[lkml]   [2016]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/9] Clean up and optimize sched averages
Date
Hi Peter,

Continue the left patches in this series. I realized some patches should
need thorough discussion (finally), so this post is marked RFC.

- For LOAD_AVG_MAX_N, I am OK to stick to the old value, but it is worthwhile
to get it cleared to the true value.

- About the renames, I noticed there is an existing sched_avg_update(), but
anyway, please NAK the renames you don't want, hopefully not all, ;)

- Removing scale_load_down() for load_avg may have some unknown ramifications,
is it worth trying?

The previous post is at: http://thread.gmane.org/gmane.linux.kernel/2214387/focus=2218488

Thanks,
Yuyang

--

Yuyang Du (9):
sched/fair: Chance LOAD_AVG_MAX_N from 345 to 347
documentation: Add scheduler/sched-avg.txt
sched/fair: Add static to remove_entity_load_avg()
sched/fair: Rename variable names for sched averages
sched/fair: Change the variable to hold the number of periods to
32-bit
sched/fair: Add __always_inline compiler attribute to
__accumulate_sum()
sched/fair: Optimize __update_sched_avg()
sched/fair: Remove scale_load_down() for load_avg
sched/fair: Rename scale_load() and scale_load_down()

Documentation/scheduler/sched-avg.txt | 94 ++++++++
include/linux/sched.h | 21 +-
kernel/sched/core.c | 8 +-
kernel/sched/fair.c | 382 +++++++++++++++++----------------
kernel/sched/sched.h | 18 +-
5 files changed, 317 insertions(+), 206 deletions(-)
create mode 100644 Documentation/scheduler/sched-avg.txt

--
1.7.9.5

\
 
 \ /
  Last update: 2016-05-16 05:01    [W:0.097 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site