[lkml]   [2017]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[RESEND PATCH 0/2] sched/fair: Add documentation and optimize __update_sched_avg()
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 <>
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


 \ /
  Last update: 2017-02-13 06:40    [W:0.106 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site