Skip to content

sched/fair: Add documentation and optimize __update_sched_avg()

Yuyang Du lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2documentation: Add scheduler/sched-avg.txtDocumentation/scheduler/sched-avg.txt+94 -00 replies
2/2sched/fair: Optimize __update_sched_avg()kernel/sched/fair.c+88 -8625 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPaul Turner
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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 <[email protected]>
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?

Thanks,
Yuyang

--

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
Signature · 1 line
2.1.4