lkml.org 
[lkml]   [2020]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2][v3] sched: Clean up newidle_balance() and pick_next_task()
Date
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(-)

--
2.17.1

\
 
 \ /
  Last update: 2020-04-21 12:50    [W:0.059 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site