Skip to content

sched: Clean up newidle_balance() and pick_next_task()

Chen Yu lkml 3 versions – Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied
  2. v22 patches 4 repliesSuperseded
  3. v12 patches 8 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2sched: Make newidle_balance() static againkernel/sched/fair.c kernel/sched/sched.h+4 -60 replies
2/2sched: Extract the task putting code from pick_next_task()kernel/sched/core.c+23 -162 replies

Reviews trailers per patch

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

PatchValentin SchneiderSteven Rostedt (VMware)Vincent Guittot
1/2
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH 0/2][v3] sched: Clean up newidle_balance() and pick_next_task()

As Peter suggested, here are two minor code clean up in the scheduler:
1. turn newidle_balance() into a static function.
2. code extraction in pick_next_task() for future re-use.

Chen Yu (2):
sched: Make newidle_balance() static again
sched: Extract the task putting code from pick_next_task()

 kernel/sched/core.c  | 39 +++++++++++++++++++++++----------------
 kernel/sched/fair.c  |  6 ++++--
 kernel/sched/sched.h |  4 ----
 3 files changed, 27 insertions(+), 22 deletions(-)
Signature · 1 line
2.17.1