[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1587464698.git.yu.c.chen@intel.com>
Date: Tue, 21 Apr 2020 18:48:47 +0800
From: Chen Yu <yu.c.chen@...el.com>
To: linux-kernel@...r.kernel.org
Cc: Peter Zijlstra <peterz@...radead.org>,
Vincent Guittot <vincent.guittot@...aro.org>,
Steven Rostedt <rostedt@...dmis.org>,
Valentin Schneider <valentin.schneider@....com>,
Ingo Molnar <mingo@...hat.com>,
Juri Lelli <juri.lelli@...hat.com>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Mel Gorman <mgorman@...e.de>, Ben Segall <bsegall@...gle.com>,
Chen Yu <yu.c.chen@...el.com>
Subject: [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(-)
--
2.17.1
Powered by blists - more mailing lists