[RESEND PATCH 0/2] sched/fair: Add documentation and optimize __update_sched_avg()

From: Yuyang Du
Date: Mon Feb 13 2017 - 00:39:44 EST

Hi Peter,

I found I have some patches that go nowhere, out of which two stand out. So I resend them.

The first one adds a document about how to calculate the constants used in load tracking,
which was suggested by you and mentioned in commit 7b20b916e953cabef569541f991a0a583bc344cb

Author: Yuyang Du <yuyang.du@xxxxxxxxx>
Date: Tue May 3 05:54:27 2016 +0800

sched/fair: Optimize sum computation with a lookup table

And the second one attempts to optimize __update_sched_avg(), mostly resulting in code simplification.

These two patches have NO changes made to the names nor functions in the existing codes.

Would you please give it a look?



Yuyang Du (2):
documentation: Add scheduler/sched-avg.txt
sched/fair: Optimize __update_sched_avg()

Documentation/scheduler/sched-avg.txt | 94 ++++++++++++++++++
kernel/sched/fair.c | 174 +++++++++++++++++-----------------
2 files changed, 182 insertions(+), 86 deletions(-)
create mode 100644 Documentation/scheduler/sched-avg.txt